Add background for extended fab
This commit is contained in:
parent
a52b40879f
commit
a2d540f9ff
2 changed files with 6 additions and 1 deletions
5
OsmAnd-telegram/res/drawable/extended_fab_bg.xml
Normal file
5
OsmAnd-telegram/res/drawable/extended_fab_bg.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/img_shadow_fab_tap" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/img_shadow_fab"/>
|
||||
</selector>
|
|
@ -78,7 +78,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:background="@drawable/img_shadow_fab"
|
||||
android:background="@drawable/extended_fab_bg"
|
||||
android:drawablePadding="@dimen/content_padding_half"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="32dp"
|
||||
|
|
Loading…
Reference in a new issue