Replace "popup_panel_background" images with drawables for all styles (#295)
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 8.7 KiB |
|
@ -3,13 +3,13 @@
|
|||
<item android:state_pressed="true" >
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/key_background_normal_lxx_base_border" />
|
||||
<corners android:radius="3dp" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle" >
|
||||
<solid android:color="@android:color/white" />
|
||||
<corners android:radius="3dp" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
|
|
|
@ -9,5 +9,5 @@
|
|||
>
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/suggested_word_background_selected_lxx_base" />
|
||||
android:drawable="@drawable/btn_keyboard_key_popup_lxx_base" />
|
||||
</selector>
|
||||
|
|
|
@ -0,0 +1,89 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Shadow -->
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:bottomLeftRadius="10dp"
|
||||
android:bottomRightRadius="10dp" />
|
||||
<solid android:color="#05777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:bottomLeftRadius="9dp"
|
||||
android:bottomRightRadius="9dp" />
|
||||
<solid android:color="#10777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:bottomLeftRadius="8dp"
|
||||
android:bottomRightRadius="8dp" />
|
||||
<solid android:color="#20777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:bottomLeftRadius="7dp"
|
||||
android:bottomRightRadius="7dp" />
|
||||
<solid android:color="#25777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:bottomLeftRadius="6dp"
|
||||
android:bottomRightRadius="6dp" />
|
||||
<solid android:color="#30777777" />
|
||||
<padding android:top="0dp" android:right="0dp" android:bottom="1dp" android:left="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:bottomLeftRadius="5dp"
|
||||
android:bottomRightRadius="5dp" />
|
||||
<solid android:color="#35777777" />
|
||||
<padding android:top="0dp" android:right="0dp" android:bottom="1dp" android:left="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:bottomLeftRadius="5dp"
|
||||
android:bottomRightRadius="5dp" />
|
||||
<solid android:color="#40777777" />
|
||||
<padding android:top="0dp" android:right="0dp" android:bottom="1dp" android:left="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- Popup background -->
|
||||
<item>
|
||||
<shape>
|
||||
<corners android:radius="5dp" />
|
||||
<solid android:color="#ffffff" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
|
@ -0,0 +1,100 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Shadow -->
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="15dp"
|
||||
android:bottomRightRadius="15dp" />
|
||||
<solid android:color="#05777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="14dp"
|
||||
android:bottomRightRadius="14dp" />
|
||||
<solid android:color="#10777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="13dp"
|
||||
android:bottomRightRadius="13dp" />
|
||||
<solid android:color="#20777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="12dp"
|
||||
android:bottomRightRadius="12dp" />
|
||||
<solid android:color="#25777777" />
|
||||
<padding android:top="0dp" android:right="1dp" android:bottom="1dp" android:left="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="11dp"
|
||||
android:bottomRightRadius="11dp" />
|
||||
<solid android:color="#30777777" />
|
||||
<padding android:top="0dp" android:right="0dp" android:bottom="1dp" android:left="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="10dp"
|
||||
android:bottomRightRadius="10dp" />
|
||||
<solid android:color="#35777777" />
|
||||
<padding android:top="0dp" android:right="0dp" android:bottom="1dp" android:left="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="10dp"
|
||||
android:bottomRightRadius="10dp" />
|
||||
<solid android:color="#40777777" />
|
||||
<padding android:top="0dp" android:right="0dp" android:bottom="1dp" android:left="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<corners
|
||||
android:topRightRadius="13dp"
|
||||
android:topLeftRadius="13dp"
|
||||
android:bottomLeftRadius="11dp"
|
||||
android:bottomRightRadius="11dp" />
|
||||
<solid android:color="#45777777" />
|
||||
<padding android:top="0dp" android:right="0dp" android:bottom="1dp" android:left="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- Popup background -->
|
||||
<item>
|
||||
<shape>
|
||||
<corners android:radius="10dp" />
|
||||
<solid android:color="#ffffff" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
|
@ -61,7 +61,7 @@
|
|||
<style
|
||||
name="MoreKeysKeyboardView.LXX_Base_Border"
|
||||
parent="MoreKeysKeyboardView.LXX_Base">
|
||||
<item name="android:background">@drawable/keyboard_popup_panel_background_lxx_base_border</item>
|
||||
<item name="android:background">@drawable/keyboard_popup_panel_background_lxx_base</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_lxx_base</item>
|
||||
</style>
|
||||
|
||||
|
|