Use bordered mini keyboard background shape
This commit is contained in:
parent
6a6b70d414
commit
e8338a522a
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<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-->
|
<!--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"/>
|
<item android:drawable="@drawable/key_background_outlined"/>
|
||||||
</selector>
|
</selector>
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue