Removing hardcoded blue styling for media picker indicator

This commit is contained in:
ThomasSession 2024-08-22 11:29:28 +10:00
parent b14f8f6e8e
commit 070d4d3e42
13 changed files with 29 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="oval"
xmlns:android="http://schemas.android.com/apk/res/android">
<stroke android:width="1dp" android:color="?android:textColorPrimary"/>
</shape>

View File

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

View File

@ -49,6 +49,20 @@
android:layout_height="match_parent"
android:background="@color/transparent_black_90" />
<FrameLayout
android:id="@+id/mediapicker_select_off"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|right|end"
android:padding="6dp"
android:visibility="gone"
tools:visibility="visible">
<ImageView
android:layout_width="@dimen/small_radial_size"
android:layout_height="@dimen/small_radial_size"
android:src="@drawable/media_selected_indicator_off" />
</FrameLayout>
<FrameLayout
android:id="@+id/mediapicker_select_on"
android:layout_width="wrap_content"
@ -59,29 +73,20 @@
tools:visibility="visible">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_select_on" />
android:layout_width="@dimen/small_radial_size"
android:layout_height="@dimen/small_radial_size"
android:src="@drawable/media_selected_indicator_on" />
<TextView
android:id="@+id/mediapicker_select_order"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textColor="@color/core_white"
android:textColor="?colorPrimary"
android:textSize="14dp"
android:gravity="center"
tools:text="3"/>
</FrameLayout>
<ImageView
android:id="@+id/mediapicker_select_off"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|right|end"
android:padding="6dp"
android:src="@drawable/ic_select_off"
android:visibility="gone" />
</FrameLayout>