mirror of
https://github.com/tuskyapp/Tusky
synced 2024-12-17 19:39:05 +01:00
Compose Activity now gives visual feedback
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 it
This commit is contained in:
parent
17c8827b35
commit
8acc69c626
22
app/src/main/res/drawable/compose_button_colors.xml
Normal file
22
app/src/main/res/drawable/compose_button_colors.xml
Normal file
@ -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
Block a user