From 29d040d6a02e1ed69f92e8e3838d8c450b217836 Mon Sep 17 00:00:00 2001
From: Maxime V <43153657+Adaoh2@users.noreply.github.com>
Date: Wed, 29 Jun 2022 23:06:44 -0400
Subject: [PATCH] add the newly created color entries to the bubble Drawable
Now editing the color from the theme affects the bubbles directly. Monochrome versions left to do still. Also added the Theme entries so the theme applies to the bubbles
---
src/cheogram/res/values/themes.xml | 11 +++++++++++
src/main/res/drawable/message_bubble_received.xml | 2 +-
src/main/res/drawable/message_bubble_sent.xml | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/cheogram/res/values/themes.xml b/src/cheogram/res/values/themes.xml
index d0ff783d4888ecfdd0cedaa5388b97be7333d138..10ff4aba12a3a6d7761c5ac1ed6a6810e75be7c6 100644
--- a/src/cheogram/res/values/themes.xml
+++ b/src/cheogram/res/values/themes.xml
@@ -7,6 +7,9 @@
- #1E0036
- @style/ThemeOverlay.AppCompat.Light
+ - @color/perpy
+ - #D8D8D8
+
- @color/grey50
- @color/grey200
- @color/grey300
@@ -155,6 +158,9 @@
- @style/ThemeOverlay.AppCompat.Dark
- @color/black
+ - @color/perpy
+ - @color/black26
+
- @color/grey800
- @color/grey900
- @color/grey700
@@ -309,11 +315,16 @@
- #1E0036
- @color/yeller
+ - @color/grey900
+ - #1E0036
+
- #0E0020
- @color/black
- #1E0036
- @color/black26
+
+
-
@drawable/message_bubble_received
diff --git a/src/main/res/drawable/message_bubble_received.xml b/src/main/res/drawable/message_bubble_received.xml
index 01b20c0a51398fd0a24086a09189c1b2e79ec62a..2dfa00622cf0e699fab229fa94e7b58598de34a1 100644
--- a/src/main/res/drawable/message_bubble_received.xml
+++ b/src/main/res/drawable/message_bubble_received.xml
@@ -15,5 +15,5 @@
-
+
diff --git a/src/main/res/drawable/message_bubble_sent.xml b/src/main/res/drawable/message_bubble_sent.xml
index 63248ade62fb0cf0af6f74e21b132a72f0aa51c2..dfda03ef74816f3da1573f1b8447c0415e1c6b7b 100644
--- a/src/main/res/drawable/message_bubble_sent.xml
+++ b/src/main/res/drawable/message_bubble_sent.xml
@@ -15,5 +15,5 @@
-
+