fix "blocked" button style

closes sk22#775
This commit is contained in:
sk 2023-08-27 13:45:44 +02:00
parent a85a0b7d78
commit c6acd35ceb
1 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true"> <item android:state_enabled="true">
<ripple android:color="@color/m3_on_secondary_container_overlay"> <ripple android:color="@color/m3_on_secondary_container_overlay">
<item> <item android:gravity="center_vertical" android:height="40dp">
<shape> <shape>
<solid android:color="?colorM3ErrorContainer"/> <solid android:color="?colorM3ErrorContainer"/>
<corners android:radius="20dp"/> <corners android:radius="20dp"/>
@ -11,9 +11,13 @@
</ripple> </ripple>
</item> </item>
<item> <item>
<shape> <layer-list>
<solid android:color="?colorM3DisabledBackground"/> <item android:gravity="center_vertical" android:height="40dp">
<corners android:radius="20dp"/> <shape>
</shape> <solid android:color="?colorM3DisabledBackground"/>
<corners android:radius="20dp"/>
</shape>
</item>
</layer-list>
</item> </item>
</selector> </selector>