Fixing up styling of Prominent buttons and "view_user" to work better on different bg colors
parent
f2413288ca
commit
32acd6e029
@ -1,5 +1,5 @@
|
|||||||
<?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">
|
||||||
<item android:state_enabled="false" android:color="@color/gray50"/>
|
<item android:state_enabled="false" android:color="?android:textColorTertiary"/>
|
||||||
<item android:color="?prominentButtonColor"/>
|
<item android:color="?prominentButtonColor"/>
|
||||||
</selector>
|
</selector>
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<ripple
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:color="?android:colorControlHighlight">
|
|
||||||
|
|
||||||
<item>
|
|
||||||
<color android:color="?colorPrimary" />
|
|
||||||
</item>
|
|
||||||
</ripple>
|
|
@ -1,13 +1,27 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
android:color="?prominentButtonColor">
|
<item android:state_enabled="false">
|
||||||
<item>
|
|
||||||
<shape android:shape="rectangle">
|
<shape android:shape="rectangle">
|
||||||
<solid android:color="?colorPrimary"/>
|
<solid android:color="@android:color/transparent"/>
|
||||||
<corners android:radius="@dimen/medium_button_corner_radius" />
|
<corners android:radius="@dimen/medium_button_corner_radius" />
|
||||||
<stroke
|
<stroke
|
||||||
android:color="?prominentButtonColor"
|
android:color="?android:textColorTertiary"
|
||||||
android:width="@dimen/border_thickness" />
|
android:width="@dimen/border_thickness" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</ripple>
|
<item>
|
||||||
|
<ripple
|
||||||
|
android:color="?prominentButtonColor">
|
||||||
|
<item>
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/transparent"/>
|
||||||
|
<corners android:radius="@dimen/medium_button_corner_radius" />
|
||||||
|
<stroke
|
||||||
|
android:color="?prominentButtonColor"
|
||||||
|
android:width="@dimen/border_thickness" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</ripple>
|
||||||
|
</item>
|
||||||
|
</selector>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue