From ce9a0cdfa2ce50be1d6aa629dddb23cb3c04da1c Mon Sep 17 00:00:00 2001 From: Seyed Mostafa Hasani Date: Mon, 27 May 2024 10:19:34 -0700 Subject: [PATCH] chore(android): add colors and dimens files to handle variables (#3836) --- .../layout/exo_legacy_player_control_view.xml | 32 +++++++++---------- android/src/main/res/values/colors.xml | 5 +++ android/src/main/res/values/dimens.xml | 16 ++++++++++ 3 files changed, 36 insertions(+), 17 deletions(-) create mode 100644 android/src/main/res/values/colors.xml create mode 100644 android/src/main/res/values/dimens.xml diff --git a/android/src/main/res/layout/exo_legacy_player_control_view.xml b/android/src/main/res/layout/exo_legacy_player_control_view.xml index bbe13a80..50ef45b2 100644 --- a/android/src/main/res/layout/exo_legacy_player_control_view.xml +++ b/android/src/main/res/layout/exo_legacy_player_control_view.xml @@ -4,14 +4,14 @@ android:layout_height="wrap_content" android:layout_gravity="bottom" android:layoutDirection="ltr" - android:background="#CC000000" + android:background="@color/midnight_black" android:orientation="vertical"> + android:textColor="@color/silver_gray"/> + android:layout_height="@dimen/seekBar_height"/> + android:textColor="@color/silver_gray"/> diff --git a/android/src/main/res/values/colors.xml b/android/src/main/res/values/colors.xml new file mode 100644 index 00000000..305f07c1 --- /dev/null +++ b/android/src/main/res/values/colors.xml @@ -0,0 +1,5 @@ + + + #FFBEBEBE + #CC000000 + \ No newline at end of file diff --git a/android/src/main/res/values/dimens.xml b/android/src/main/res/values/dimens.xml new file mode 100644 index 00000000..218dca64 --- /dev/null +++ b/android/src/main/res/values/dimens.xml @@ -0,0 +1,16 @@ + + + + 4dp + 4dp + 4dp + 4dp + + + 50dp + 26dp + 30dp + + + 14sp + \ No newline at end of file