Revision control

Copy as Markdown

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<layer-list>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#00000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#10000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#20000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#30000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#50000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle" android:tint="@color/void_color">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
</shape>
</item>
</layer-list>
</item>
<item android:state_hovered="true">
<layer-list>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#00000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#10000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#20000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#30000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#50000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle" android:tint="@color/azure">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
</shape>
</item>
</layer-list>
</item>
<item android:state_hovered="false" android:drawable="@null">
<layer-list>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#00000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#10000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#20000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#30000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
<padding android:bottom="@dimen/keyboard_key_pressed_padding"/>
<solid android:color="#50000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle" android:tint="@color/fog">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="@dimen/keyboard_key_rounded_corner"
android:topLeftRadius="0dp"
android:topRightRadius="@dimen/keyboard_key_rounded_corner"/>
</shape>
</item>
</layer-list>
</item>
</selector>