Use circle ripple for swap units button
This commit is contained in:
parent
8982a4d41e
commit
07b3579c23
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="?android:attr/colorControlHighlight">
|
||||||
|
<item android:id="@android:id/mask">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<solid android:color="#000000"/>
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</ripple>
|
|
@ -61,7 +61,7 @@
|
||||||
android:id="@+id/swap_button"
|
android:id="@+id/swap_button"
|
||||||
android:layout_width="@dimen/unit_switch_button_size"
|
android:layout_width="@dimen/unit_switch_button_size"
|
||||||
android:layout_height="@dimen/unit_switch_button_size"
|
android:layout_height="@dimen/unit_switch_button_size"
|
||||||
android:background="@drawable/ripple_all_corners"
|
android:background="@drawable/ripple_circle_background"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:padding="@dimen/activity_margin"
|
android:padding="@dimen/activity_margin"
|
||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
|
|
Loading…
Reference in New Issue