Skip to content
This repository was archived by the owner on Dec 18, 2022. It is now read-only.

Commit c4a1397

Browse files
committed
prettify drawables for dashboard messaging
1 parent e3e6c53 commit c4a1397

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

sampleapp/src/main/res/drawable/dash_message_color_green.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
<shape xmlns:android="http://schemas.android.com/apk/res/android"
33
android:shape="rectangle">
44
<solid android:color="@color/green" />
5+
<corners android:radius="8dp" />
6+
<stroke android:width="2dp" android:color="@color/dash_message_drawable_border" />
57
</shape>

sampleapp/src/main/res/drawable/dash_message_color_primary_light.xml

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

sampleapp/src/main/res/drawable/dash_message_color_red.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
<shape xmlns:android="http://schemas.android.com/apk/res/android"
33
android:shape="rectangle">
44
<solid android:color="@color/red" />
5+
<corners android:radius="8dp" />
6+
<stroke android:width="2dp" android:color="@color/dash_message_drawable_border" />
57
</shape>

sampleapp/src/main/res/values/colors.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212
<color name="green">#4CAF50</color>
1313
<color name="blue">#3F51B5</color>
1414
<color name="red">#BD1B1B</color>
15+
16+
<color name="dash_message_drawable_border">#70000000</color>
1517
</resources>

0 commit comments

Comments
 (0)