Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6d3a4d6 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Make action key background more visually prominent

Bug: 5232726
Change-Id: I76ff2fb431ca295693ceb231a0f13da44f9293e6
parent 7918ed01
Loading
Loading
Loading
Loading
+479 B
Loading image diff...
+346 B
Loading image diff...
+605 B
Loading image diff...
+8 −1
Original line number Diff line number Diff line
@@ -23,6 +23,13 @@
    <item android:state_single="true"
          android:drawable="@drawable/btn_keyboard_key_dark_normal_holo" />

    <!-- Action keys. -->

    <item android:state_active="true" android:state_pressed="true"
          android:drawable="@drawable/btn_keyboard_key_dark_pressed_holo" />
    <item android:state_active="true"
          android:drawable="@drawable/btn_keyboard_key_dark_active_holo" />

    <!-- Toggle keys. Use checkable/checked state. -->

    <item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
@@ -34,7 +41,7 @@
    <item android:state_checkable="true"
          android:drawable="@drawable/btn_keyboard_key_dark_normal_off_holo" />

    <!-- Normal keys -->
    <!-- Normal keys. -->

    <item android:state_pressed="true"
          android:drawable="@drawable/btn_keyboard_key_light_pressed_holo" />
+1 −0
Original line number Diff line number Diff line
@@ -198,6 +198,7 @@
            <!-- This should be aligned with Key.BACKGROUND_TYPE_* -->
            <enum name="normal" value="0" />
            <enum name="functional" value="1" />
            <enum name="action" value="2" />
        </attr>
        <!-- Whether this is a toggle key. -->
        <attr name="isSticky" format="boolean" />
Loading