Merge "Add missing "action" key background definition"

This commit is contained in:
Tadashi G. Takaoka 2011-09-16 00:48:15 -07:00 committed by Android (Google) Code Review
commit cd0ee08656
2 changed files with 16 additions and 2 deletions

View file

@ -23,6 +23,13 @@
<item android:state_single="true" <item android:state_single="true"
android:drawable="@drawable/btn_keyboard_key_dark_normal" /> android:drawable="@drawable/btn_keyboard_key_dark_normal" />
<!-- Action keys. -->
<item android:state_active="true" android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_dark_pressed" />
<item android:state_active="true"
android:drawable="@drawable/btn_keyboard_key_dark_normal" />
<!-- Toggle keys. Use checkable/checked state. --> <!-- Toggle keys. Use checkable/checked state. -->
<item android:state_checkable="true" android:state_checked="true" android:state_pressed="true" <item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
@ -34,7 +41,7 @@
<item android:state_checkable="true" <item android:state_checkable="true"
android:drawable="@drawable/btn_keyboard_key_dark_normal_off" /> android:drawable="@drawable/btn_keyboard_key_dark_normal_off" />
<!-- Normal keys --> <!-- Normal keys. -->
<item android:state_pressed="true" <item android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_light_pressed" /> android:drawable="@drawable/btn_keyboard_key_light_pressed" />

View file

@ -23,6 +23,13 @@
<item android:state_single="true" <item android:state_single="true"
android:drawable="@drawable/btn_keyboard_key_normal_stone" /> android:drawable="@drawable/btn_keyboard_key_normal_stone" />
<!-- Action keys. -->
<item android:state_active="true" android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_fulltrans_pressed" />
<item android:state_active="true"
android:drawable="@drawable/btn_keyboard_key_normal_stone" />
<!-- Toggle keys. Use checkable/checked state. --> <!-- Toggle keys. Use checkable/checked state. -->
<item android:state_checkable="true" android:state_checked="true" <item android:state_checkable="true" android:state_checked="true"
@ -35,7 +42,7 @@
<item android:state_checkable="true" <item android:state_checkable="true"
android:drawable="@drawable/btn_keyboard_key_normal_off_stone" /> android:drawable="@drawable/btn_keyboard_key_normal_off_stone" />
<!-- Normal keys --> <!-- Normal keys. -->
<item android:state_pressed="true" <item android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_fulltrans_pressed" /> android:drawable="@drawable/btn_keyboard_key_fulltrans_pressed" />