Skip to content

Commit 18e0db6

Browse files
committed
Improved theme files with configurable bubble color property
1 parent cec47cf commit 18e0db6

24 files changed

+30
-146
lines changed

Themes/HSDarkTheme/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
- Creator: Tenmiles
55

66
This theme comes with the following files:
7-
- drawables
8-
- hs_dark_leftchatbubble.xml
9-
- hs_dark_rightchatbubble.xml
107
- values
118
- hs_custom_theme.xml
129
- hs_dark_colors.xml

Themes/HSDarkTheme/drawables/hs_dark_left_chat_bubble.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Themes/HSDarkTheme/drawables/hs_dark_right_chat_bubble.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

Themes/HSDarkTheme/values/hs_custom_theme.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,11 @@
3636
<item name="android:textColor">@color/hs_dark_child_textColor</item>
3737
</style>
3838

39-
<!-- Chat screen - left chat bubble style -->
40-
<style name="hs_leftChatBubbleStyle" parent="hs_leftChatBubble_defaultStyle">
41-
<item name="android:background">@drawable/hs_dark_left_chat_bubble</item>
42-
</style>
43-
44-
<!-- Chat screen - right chat bubble style -->
45-
<style name="hs_rightChatBubbleStyle" parent="hs_rightChatBubble_defaultStyle">
46-
<item name="android:background">@drawable/hs_dark_right_chat_bubble</item>
47-
</style>
39+
<!-- Chat screen - left chat bubble color -->
40+
<color name="hs_leftchat_bubblecolor">@color/hs_dark_leftChatBubbleColor</color>
41+
42+
<!-- Chat screen - right chat bubble color -->
43+
<color name="hs_rightchat_bubblecolor">@color/hs_dark_rightChatBubbleColor</color>
4844

4945
<!-- Chat screen message text style for left chat bubble -->
5046
<style name="hs_right_messageTextStyle" parent="@style/hs_rightmessageText_defaultStyle">

Themes/HSFacebookTheme/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
- Creator: Tenmiles
55

66
This theme comes with the following files:
7-
- drawables
8-
- hs_fb_leftchatbubble.xml
9-
- hs_fb_rightchatbubble.xml
107
- values
118
- hs_custom_theme.xml
129
- hs_fb_colors.xml

Themes/HSFacebookTheme/drawables/hs_fb_leftchatbubble.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Themes/HSFacebookTheme/drawables/hs_fb_rightchatbubble.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Themes/HSFacebookTheme/values/hs_custom_theme.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,11 @@
3737
<item name="android:textColor">@color/hs_fb_childView_textColor</item>
3838
</style>
3939

40-
<!-- Chat screen - left chat bubble style -->
41-
<style name="hs_leftChatBubbleStyle" parent="hs_leftChatBubble_defaultStyle">
42-
<item name="android:background">@drawable/hs_fb_leftchatbubble</item>
43-
</style>
44-
45-
<!-- Chat screen - right chat bubble style -->
46-
<style name="hs_rightChatBubbleStyle" parent="hs_rightChatBubble_defaultStyle">
47-
<item name="android:background">@drawable/hs_fb_rightchatbubble</item>
48-
</style>
40+
<!-- Chat screen - left chat bubble color -->
41+
<color name="hs_leftchat_bubblecolor">@color/hs_fb_leftChatBubbleColor</color>
42+
43+
<!-- Chat screen - right chat bubble color -->
44+
<color name="hs_rightchat_bubblecolor">@color/hs_fb_rightChatBubbleColor</color>
4945

5046
<!-- Chat screen message text style for left chat bubble -->
5147
<style name="hs_right_messageTextStyle" parent="@style/hs_rightmessageText_defaultStyle">

Themes/HSHalloweenTheme/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
- Creator: Tenmiles
55

66
This theme comes with the following files:
7-
- drawables
8-
- hs_halloween_leftchatbubble.xml
9-
- hs_halloween_rightchatbubble.xml
107
- values
118
- hs_custom_theme.xml
129
- hs_halloween_colors.xml

Themes/HSHalloweenTheme/drawables/hs_halloween_left_chat_bubble.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)