From 53825cea588703e3386917cebb972f7bd9101ebd Mon Sep 17 00:00:00 2001 From: ThomasSession Date: Thu, 22 Aug 2024 11:36:48 +1000 Subject: [PATCH] Proper styling of media picker buttons --- .../res/drawable/media_camera_button_background.xml | 2 +- .../res/drawable/media_count_button_background.xml | 10 +++++++--- .../res/drawable/media_count_number_background.xml | 2 +- app/src/main/res/drawable/pill.xml | 5 ----- app/src/main/res/layout/mediasend_activity.xml | 4 ++-- 5 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 app/src/main/res/drawable/pill.xml diff --git a/app/src/main/res/drawable/media_camera_button_background.xml b/app/src/main/res/drawable/media_camera_button_background.xml index e129933aea..d0c63b6d00 100644 --- a/app/src/main/res/drawable/media_camera_button_background.xml +++ b/app/src/main/res/drawable/media_camera_button_background.xml @@ -10,7 +10,7 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/media_count_button_background.xml b/app/src/main/res/drawable/media_count_button_background.xml index a5fdc45a06..6445a54934 100644 --- a/app/src/main/res/drawable/media_count_button_background.xml +++ b/app/src/main/res/drawable/media_count_button_background.xml @@ -1,6 +1,5 @@ - @@ -8,5 +7,10 @@ - + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/media_count_number_background.xml b/app/src/main/res/drawable/media_count_number_background.xml index 1ffe671559..5eba0a6df3 100644 --- a/app/src/main/res/drawable/media_count_number_background.xml +++ b/app/src/main/res/drawable/media_count_number_background.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/pill.xml b/app/src/main/res/drawable/pill.xml deleted file mode 100644 index f279f0f921..0000000000 --- a/app/src/main/res/drawable/pill.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/src/main/res/layout/mediasend_activity.xml b/app/src/main/res/layout/mediasend_activity.xml index cc02afd1f3..7ad470ee8f 100644 --- a/app/src/main/res/layout/mediasend_activity.xml +++ b/app/src/main/res/layout/mediasend_activity.xml @@ -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"