Add a stroke for private message bubbles on Android 4

parent c8b51619
......@@ -155,7 +155,7 @@ task verifyTranslations {
def folders = ["default", "en-US"]
project.file("src/main/res").eachDir { dir ->
if (dir.name.startsWith("values-") && !dir.name.endsWith("night")) {
if (dir.name.startsWith("values-") && !dir.name.endsWith("night") && !dir.name.endsWith("v21")) {
folders.add(dir.name.substring(7).replace("-r", "-"))
}
}
......
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_top"/>
<solid
android:color="@color/msg_in"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke"/>
</shape>
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_top"/>
<solid
android:color="@color/msg_in"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke"/>
</shape>
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_top"/>
<solid
android:color="@color/msg_out"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke_dark"/>
</shape>
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_top"/>
<solid
android:color="@color/msg_out"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke_dark"/>
</shape>
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_top"/>
<solid
android:color="@color/notice_in"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke"/>
</shape>
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_bottom"/>
<solid
android:color="@color/notice_in"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke"/>
</shape>
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_top"/>
<solid
android:color="@color/notice_out"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke_dark"/>
</shape>
......@@ -14,4 +14,7 @@
android:top="@dimen/message_bubble_padding_bottom"/>
<solid
android:color="@color/notice_out"/>
<stroke
android:width="@dimen/message_bubble_stroke"
android:color="@color/msg_stroke_dark"/>
</shape>
......@@ -12,6 +12,7 @@
<color name="msg_out">@color/briar_blue_elio_light</color>
<color name="notice_in">@color/briar_blue_dark</color>
<color name="notice_out">@color/briar_blue_elio</color>
<color name="msg_stroke">@color/msg_stroke_dark</color>
<color name="window_background">@color/briar_blue_very_dark</color>
<color name="card_background">@color/briar_blue_dark</color>
......
<resources>
<dimen name="message_bubble_stroke">0px</dimen>
</resources>
......@@ -37,6 +37,9 @@
<color name="msg_out">@color/briar_blue_elio_light</color>
<color name="notice_in">@color/briar_blue_grey</color>
<color name="notice_out">@color/briar_blue_elio</color>
<color name="msg_stroke_light">#cbcbcb</color>
<color name="msg_stroke_dark">#333333</color>
<color name="msg_stroke">@color/msg_stroke_light</color>
<!-- text colors -->
<color name="briar_text_link">@color/briar_blue_light</color>
......
......@@ -48,6 +48,7 @@
<dimen name="message_bubble_elevation">2dp</dimen>
<dimen name="message_bubble_margin_tail">8dp</dimen>
<dimen name="message_bubble_margin_non_tail">30dp</dimen>
<dimen name="message_bubble_stroke">1px</dimen>
<dimen name="forum_nested_line_width">2dp</dimen>
<dimen name="forum_nested_indicator">24dp</dimen>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment