diff options
author | Marcel Hibbe <dev@mhibbe.de> | 2022-04-20 15:12:55 +0300 |
---|---|---|
committer | Marcel Hibbe <dev@mhibbe.de> | 2022-04-22 12:28:05 +0300 |
commit | fd98ccc816ac7383cd694f5154d4a6593511b356 (patch) | |
tree | 89901ee64a8af01838aa60ce6e2f6636e077c2ae /app/src/main/res | |
parent | 454200d797bd95aedd96fcdb0a3379c9b0adde8d (diff) |
add chip styled background to self reaction (wip)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable/reaction_self_background.xml | 18 | ||||
-rw-r--r-- | app/src/main/res/values-night/colors.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 3 |
3 files changed, 23 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/reaction_self_background.xml b/app/src/main/res/drawable/reaction_self_background.xml new file mode 100644 index 000000000..6ac21b10d --- /dev/null +++ b/app/src/main/res/drawable/reaction_self_background.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" > + + <stroke + android:width="1dp" + android:color="@color/colorPrimary" /> + + <solid + android:color="@color/bg_message_own_reaction" /> + + <padding + android:left="1dp" + android:right="1dp" + android:bottom="1dp" + android:top="1dp" /> + + <corners android:radius="15dp" /> +</shape> diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 5debb59e5..755d53c66 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -65,6 +65,8 @@ <color name="textColorMaxContrast">#8c8c8c</color> + <color name="nc_message_incoming_reaction_text_color">#FFFFFF</color> + <!-- shimmer element colors --> <color name="nc_shimmer_default_color">#4B4B4B</color> <color name="nc_shimmer_darker_color">#282828</color> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 8953461c1..92c400639 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -99,6 +99,9 @@ <!-- voicemessage --> <color name="nc_voice_message_outgoing_controls">#606060</color> + <color name="nc_message_incoming_reaction_text_color">#de000000</color> + <color name="bg_message_own_reaction">#99ffffff</color> + <color name="camera_bg_tint">#99121212</color> <color name="list_divider_background">#eeeeee</color> |