mirror of https://github.com/tuskyapp/Tusky.git
Browse Source
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 itpull/121/head
1 changed files with 22 additions and 0 deletions
@ -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