added a spinning progress bar to indicate status posting made the button to also change colors from blue to grey so the user doesn't keep clicking itmain
parent
17c8827b35
commit
8acc69c626
@ -0,0 +1,22 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
||||
<item android:state_enabled="true"> |
||||
<shape> |
||||
<corners |
||||
android:radius="3dp"/> |
||||
<solid |
||||
android:color="@color/md_blue_600"/> |
||||
</shape> |
||||
</item> |
||||
|
||||
<item android:state_enabled="false"> |
||||
<shape> |
||||
<corners |
||||
android:radius="3dp"/> |
||||
<solid |
||||
android:color="@color/md_blue_grey_300"/> |
||||
</shape> |
||||
</item> |
||||
|
||||
</selector> |
Loading…
Reference in new issue