Use bordered mini keyboard background shape

This commit is contained in:
Naveen 2023-02-01 00:16:02 +05:30
parent 6a6b70d414
commit e8338a522a
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!--used after long pressing a key to highlight the currently selected key alternative on minikeyboard-->
<item android:drawable="@drawable/minikeyboard_selected_background" android:state_focused="true"/>
<item android:drawable="@drawable/minikeyboard_selected_background_outlined" android:state_focused="true"/>
<item android:drawable="@drawable/key_background_outlined"/>
</selector>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/button_background_shape" android:bottom="@dimen/small_margin" android:left="@dimen/tiny_margin" android:right="@dimen/tiny_margin" android:top="@dimen/small_margin">
<shape android:shape="rectangle">
<solid android:color="@color/color_primary" />
<corners android:radius="@dimen/medium_margin" />
</shape>
</item>
</layer-list>