aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/drawable/message_bubble_received_light.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-09-28 22:33:28 +0200
committerChristian Schneppe <christian@pix-art.de>2018-09-28 22:33:28 +0200
commit092926db0bdf298bb99b41ab67305c34aa960469 (patch)
treed81b84c8fef768bb5950decdd76b6d1f98dc4250 /src/main/res/drawable/message_bubble_received_light.xml
parent68adf4c7e9bf9ca68dd81305accd12b56de38b4c (diff)
Revert "design: bubbles more curvier, avatar higher radius and no border"
This reverts commit 1816092e68584b5794303578b6af6d621ffc58d4. This causes render errors on some devices.
Diffstat (limited to 'src/main/res/drawable/message_bubble_received_light.xml')
-rw-r--r--src/main/res/drawable/message_bubble_received_light.xml48
1 files changed, 20 insertions, 28 deletions
diff --git a/src/main/res/drawable/message_bubble_received_light.xml b/src/main/res/drawable/message_bubble_received_light.xml
index 6619984b3..32e146460 100644
--- a/src/main/res/drawable/message_bubble_received_light.xml
+++ b/src/main/res/drawable/message_bubble_received_light.xml
@@ -1,29 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:gravity="top|left">
- <vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="36dp"
- android:height="24dp"
- android:viewportWidth="36"
- android:viewportHeight="24" >
- <path
- android:fillColor="@color/lightwhite"
- android:pathData="m2,0 c6,0 10,6 10,10L18,0z" />
- </vector>
- </item>
- <item android:left="12dp">
- <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
- <corners
- android:topLeftRadius="0dp"
- android:topRightRadius="5dp"
- android:bottomRightRadius="5dp"
- android:bottomLeftRadius="5dp"/>
- <padding
- android:bottom="2dp"
- android:left="18dp"
- android:right="6dp"
- android:top="2dp" />
- <solid android:color="@color/lightwhite" />
- </shape>
- </item>
-</layer-list>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
+ <corners
+ android:topLeftRadius="0dp"
+ android:topRightRadius="5dp"
+ android:bottomRightRadius="5dp"
+ android:bottomLeftRadius="5dp">
+ </corners>
+ <padding
+ android:bottom="2dp"
+ android:left="6dp"
+ android:right="6dp"
+ android:top="2dp" />
+ <stroke
+ android:width="1dp"
+ android:color="@color/grey500">
+ </stroke>
+ <solid
+ android:color="@color/lightwhite">
+ </solid>
+</shape> \ No newline at end of file