Fix passed and reorder buttons

This commit is contained in:
PavelRatushny 2017-09-07 11:22:26 +03:00
parent 0173c0b774
commit dfaeb353df
4 changed files with 21 additions and 7 deletions

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/marker_circle_background_light_n"
android:insetBottom="14dp"
android:insetLeft="14dp"
android:insetRight="14dp"
android:insetTop="14dp"/>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/marker_circle_background_light_p"
android:insetBottom="14dp"
android:insetLeft="14dp"
android:insetRight="14dp"
android:insetTop="14dp">
</inset>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/marker_circle_background_light_p" android:state_pressed="true"/>
<item android:drawable="@drawable/marker_circle_background_light_n"/>
<item android:drawable="@drawable/marker_circle_background_light_p_with_inset" android:state_pressed="true"/>
<item android:drawable="@drawable/marker_circle_background_light_n_with_inset"/>
</selector>

View file

@ -100,13 +100,11 @@
<ImageButton
android:id="@+id/map_marker_options_button"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_gravity="center_vertical|end"
android:background="@drawable/marker_circle_background_light"
android:background="@drawable/marker_circle_background_light_with_inset"
android:focusableInTouchMode="true"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
tools:src="@drawable/ic_action_marker_passed"/>
</LinearLayout>