Proper styling of media picker buttons

This commit is contained in:
ThomasSession 2024-08-22 11:36:48 +10:00
parent 070d4d3e42
commit 53825cea58
5 changed files with 11 additions and 12 deletions

View File

@ -10,7 +10,7 @@
</item>
<item>
<shape android:shape="oval">
<solid android:color="@color/core_white" />
<solid android:color="?backgroundSecondary" />
</shape>
</item>
</ripple>

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/transparent_white_40">
<item android:id="@+id/mask">
<shape>
@ -8,5 +7,10 @@
<solid android:color="@color/white" />
</shape>
</item>
<item android:drawable="@drawable/pill" />
<item>
<shape>
<corners android:radius="1000dp" />
<solid android:color="?backgroundSecondary" />
</shape>
</item>
</ripple>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="1000dp" />
<solid android:color="@color/core_white" />
<solid android:color="?colorAccent" />
</shape>

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="1000dp" />
<solid android:color="?colorAccent" />
</shape>

View File

@ -37,7 +37,7 @@
android:paddingBottom="2dp"
android:gravity="center"
android:background="@drawable/media_count_number_background"
android:textColor="?colorAccent"
android:textColor="?colorPrimary"
android:textSize="18sp"
tools:text="3" />
@ -60,7 +60,7 @@
android:layout_gravity="bottom|start"
android:padding="12dp"
android:src="@drawable/ic_camera_filled_24"
app:tint="@color/core_grey_60"
app:tint="?android:textColorPrimary"
android:background="@drawable/media_camera_button_background"
android:elevation="4dp"
android:visibility="gone"