mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Change disabled appearance of Nominate for Deletion button
This commit is contained in:
parent
4acf0e2ed4
commit
a449870d8b
4 changed files with 38 additions and 10 deletions
|
|
@ -1,7 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/deleteButtonColor"/>
|
||||
<corners android:radius="3dp" />
|
||||
<stroke android:width="5px" android:color="@color/deleteBackgroundColor" />
|
||||
</shape>
|
||||
<selector
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:state_enabled="true" >
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid
|
||||
android:color="@color/deleteButton"/>
|
||||
<corners
|
||||
android:radius="3dp" />
|
||||
<stroke
|
||||
android:width="5px"
|
||||
android:color="@color/deleteRed" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:state_enabled="false" >
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid
|
||||
android:color="@color/deleteButtonDark"/>
|
||||
<corners
|
||||
android:radius="3dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</selector>
|
||||
Loading…
Add table
Add a link
Reference in a new issue