Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions library/res/color/holo_blue_dark_btn.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true"
android:state_pressed="true"
android:color="@color/holo_blue_dark_btn_enabled_pressed"/>
<item android:state_enabled="true"
android:state_focused="true"
android:color="@color/holo_blue_dark_btn_enabled_focused"/>
<item android:state_enabled="true"
android:color="@color/holo_blue_dark_btn_enabled"/>
<item android:color="@color/holo_blue_dark_btn_disabled"/>
</selector>
8 changes: 8 additions & 0 deletions library/res/drawable/holo_blue_dark_btn_bg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true"
android:state_pressed="true"
android:drawable="@drawable/holo_blue_dark_btn_bg_pressed"/>
<item android:state_enabled="true"
android:state_focused="true"
android:drawable="@drawable/holo_blue_dark_btn_bg_focused"/>
</selector>
4 changes: 4 additions & 0 deletions library/res/drawable/holo_blue_dark_btn_bg_focused.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke android:width="2dp" android:color="#2fff"/>
<corners android:radius="4dp" />
</shape>
4 changes: 4 additions & 0 deletions library/res/drawable/holo_blue_dark_btn_bg_pressed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#2fff"/>
<corners android:radius="4dp" />
</shape>
16 changes: 16 additions & 0 deletions library/res/values/attrs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<resources>
<declare-styleable name="IconicFontButton">
<attr name="font"> <!-- Values must match IconFontButton.FontIdx. -->
<!-- TODO: support "sys". It's useful to provide the option to use
the default system font for drawing letters. We should
also consider packaging in Roboto. -->
<enum name="sys" value="0" /> <!-- Don't override typeface attribute. -->
<enum name="iconic" value="1" />
<enum name="awesome" value="2" />
<enum name="entypo" value="3" />
<enum name="social" value="4" />
</attr>
<attr name="iconPadding" format="dimension" />
<attr name="iconUtf" format="string" />
</declare-styleable>
</resources>
48 changes: 48 additions & 0 deletions library/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/assets/res/any/colors.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources>
<!-- A light Holo shade of blue -->
<color name="holo_blue_light">#ff33b5e5</color>
<!-- A light Holo shade of green -->
<color name="holo_green_light">#ff99cc00</color>
<!-- A light Holo shade of red -->
<color name="holo_red_light">#ffff4444</color>
<!-- A dark Holo shade of blue -->
<color name="holo_blue_dark">#ff0099cc</color>
<!-- A dark Holo shade of green -->
<color name="holo_green_dark">#ff669900</color>
<!-- A dark Holo shade of red -->
<color name="holo_red_dark">#ffcc0000</color>
<!-- A Holo shade of purple -->
<color name="holo_purple">#ffaa66cc</color>
<!-- A light Holo shade of orange -->
<color name="holo_orange_light">#ffffbb33</color>
<!-- A dark Holo shade of orange -->
<color name="holo_orange_dark">#ffff8800</color>
<!-- A really bright Holo shade of blue -->
<color name="holo_blue_bright">#ff00ddff</color>
<color name="holo_gray_light">#fddd</color>
<color name="holo_gray_dark">#faaa</color>

<color name="holo_blue_dark_btn_enabled_pressed">@color/holo_blue_light</color>
<color name="holo_blue_dark_btn_enabled_focused">@android:color/white</color>
<color name="holo_blue_dark_btn_enabled" >@color/holo_gray_light</color>
<color name="holo_blue_dark_btn_disabled" >@color/holo_gray_dark</color>
</resources>
Loading