diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2021-04-19 22:37:06 +0300 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2021-04-26 16:52:52 +0300 |
commit | 5ab44332c4133800e0f8ed29d41b2afd9d5be90d (patch) | |
tree | 238c32d886e4a55f899f84896c5e0073152bc88a /app/src | |
parent | 71ca6fbbfd8b62ae595e5ffec0c0a2682bb6029d (diff) |
tone down placeholders in dark mode
Resolves #1140
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Diffstat (limited to 'app/src')
4 files changed, 18 insertions, 5 deletions
diff --git a/app/src/main/res/layout/rv_item_conversation_with_last_message_shimmer.xml b/app/src/main/res/layout/rv_item_conversation_with_last_message_shimmer.xml index fc8275232..9f074f278 100644 --- a/app/src/main/res/layout/rv_item_conversation_with_last_message_shimmer.xml +++ b/app/src/main/res/layout/rv_item_conversation_with_last_message_shimmer.xml @@ -32,7 +32,8 @@ android:layout_centerVertical="true" android:layout_marginEnd="@dimen/double_margin_between_elements" android:contentDescription="@null" - app:corners="100" /> + app:corners="100" + app:custom_color="@color/nc_shimmer_default_color" /> <LinearLayout android:layout_width="match_parent" @@ -45,12 +46,14 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginEnd="128dp" - android:textStyle="bold" /> + android:textStyle="bold" + app:custom_color="@color/nc_shimmer_default_color" /> <com.elyeproj.loaderviewlibrary.LoaderTextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="6dp" /> + android:layout_marginTop="6dp" + app:custom_color="@color/nc_shimmer_darker_color" /> </LinearLayout> diff --git a/app/src/main/res/layout/user_info_details_table_item_shimmer.xml b/app/src/main/res/layout/user_info_details_table_item_shimmer.xml index 3482d1199..38984ed2a 100644 --- a/app/src/main/res/layout/user_info_details_table_item_shimmer.xml +++ b/app/src/main/res/layout/user_info_details_table_item_shimmer.xml @@ -28,13 +28,15 @@ android:layout_height="@dimen/iconized_single_line_item_icon_size" android:layout_gravity="center_vertical" android:layout_marginStart="@dimen/standard_margin" - app:corners="100" /> + app:corners="100" + app:custom_color="@color/nc_shimmer_default_color" /> <com.elyeproj.loaderviewlibrary.LoaderTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginStart="@dimen/standard_margin" - android:layout_marginEnd="@dimen/standard_margin" /> + android:layout_marginEnd="@dimen/standard_margin" + app:custom_color="@color/nc_shimmer_default_color" /> </LinearLayout> diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 71662a257..cca535763 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -58,4 +58,8 @@ <color name="bg_message_list_incoming_bubble_deleted">#66484848</color> <color name="textColorMaxContrast">#8c8c8c</color> + + <!-- shimmer element colors --> + <color name="nc_shimmer_default_color">#4B4B4B</color> + <color name="nc_shimmer_darker_color">#282828</color> </resources> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 608cce367..cc4db82b8 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -76,4 +76,8 @@ <color name="call_buttons_background">#BF999999</color> <color name="favorite_icon_tint">#FFCC00</color> + + <!-- shimmer element colors --> + <color name="nc_shimmer_default_color">#D7D7D7</color> + <color name="nc_shimmer_darker_color">#B4B4B4</color> </resources> |