LeOS-GSI/LatinIME/java/res/drawable/btn_keyboard_key_you.xml

34 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Action keys. -->
<item android:state_active="true" android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_action_pressed_you" />
<item android:state_active="true"
android:drawable="@drawable/btn_keyboard_key_action_normal_you" />
<!-- Toggle keys. Use checkable/checked state. -->
<item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_functional_pressed_you" />
<item android:state_checkable="true" android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_functional_pressed_you" />
<item android:state_checkable="true" android:state_checked="true"
android:drawable="@drawable/btn_keyboard_key_functional_pressed_you" />
<item android:state_checkable="true"
android:drawable="@drawable/btn_keyboard_key_functional_normal_you" />
<!-- Empty background keys. -->
<item android:state_empty="true" android:state_pressed="true"
android:drawable="@color/keyboard_key_pressed_color_you" />
<item android:state_empty="true"
android:drawable="@android:color/transparent" />
<!-- Normal keys. -->
<item android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_pressed_you" />
<item android:drawable="@drawable/btn_keyboard_key_normal_you" />
</selector>