aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian S <christian@pix-art.de>2016-03-19 14:27:53 +0100
committerChristian S <christian@pix-art.de>2016-03-19 14:27:53 +0100
commit548d526908387d592c30a255513f7b08f96f3b56 (patch)
tree19c91da8f28ef070bb54ae5d50477d161501ef08 /src/main
parent5ae161a593e651df09556659e129d22579548e6b (diff)
add border to roundedimageview
Diffstat (limited to 'src/main')
-rw-r--r--src/main/res/layout/conversation_list_row.xml2
-rw-r--r--src/main/res/layout/message_received.xml4
-rw-r--r--src/main/res/layout/message_sent.xml4
3 files changed, 6 insertions, 4 deletions
diff --git a/src/main/res/layout/conversation_list_row.xml b/src/main/res/layout/conversation_list_row.xml
index 124223c81..725c97929 100644
--- a/src/main/res/layout/conversation_list_row.xml
+++ b/src/main/res/layout/conversation_list_row.xml
@@ -30,6 +30,8 @@
android:scaleType="centerCrop"
android:background="@drawable/message_border"
android:padding="1dp"
+ app:riv_border_color="@color/black12"
+ app:riv_border_width="1dp"
app:riv_corner_radius="2dp"/>
<RelativeLayout
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml
index f8a8853ab..60fb22a48 100644
--- a/src/main/res/layout/message_received.xml
+++ b/src/main/res/layout/message_received.xml
@@ -17,8 +17,8 @@
android:layout_alignParentTop="true"
android:scaleType="fitXY"
android:src="@drawable/ic_profile"
- android:background="@drawable/message_border"
- android:padding="1dp"
+ app:riv_border_width="1dip"
+ app:riv_border_color="@color/black12"
app:riv_corner_radius="2dp" />
<LinearLayout
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml
index 5ffb33114..b94c67d25 100644
--- a/src/main/res/layout/message_sent.xml
+++ b/src/main/res/layout/message_sent.xml
@@ -14,12 +14,12 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:scaleType="fitXY"
- android:background="@drawable/message_border"
- android:padding="1dp"
android:src="@drawable/ic_profile"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
+ app:riv_border_width="1dp"
+ app:riv_border_color="@color/black12"
app:riv_corner_radius="2dp" />
<LinearLayout