aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian S <christian@pix-art.de>2015-07-04 16:28:55 +0200
committerChristian S <christian@pix-art.de>2015-07-04 16:28:55 +0200
commitb9a549371f23fb0e27641bafd7ebfd1d9c4e94cc (patch)
tree2b47f355f1a030ea0c6527848776d92b4a36c568 /src/main
parent2352f114acdf7ab6b37e44e212bb72e5ded5bc68 (diff)
small avatar modifications
Diffstat (limited to 'src/main')
-rw-r--r--src/main/res/layout/account_row.xml4
-rw-r--r--src/main/res/layout/activity_contact_details.xml3
-rw-r--r--src/main/res/layout/activity_edit_account.xml4
-rw-r--r--src/main/res/layout/activity_muc_details.xml4
-rw-r--r--src/main/res/layout/contact.xml8
-rw-r--r--src/main/res/layout/conversation_list_row.xml4
-rw-r--r--src/main/res/layout/message_received.xml8
-rw-r--r--src/main/res/layout/message_sent.xml8
-rw-r--r--src/main/res/layout/message_status.xml5
9 files changed, 34 insertions, 14 deletions
diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml
index 0e73dd643..d39d5e8f4 100644
--- a/src/main/res/layout/account_row.xml
+++ b/src/main/res/layout/account_row.xml
@@ -13,7 +13,9 @@
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:src="@drawable/ic_profile"
- android:contentDescription="@string/account_image_description">
+ android:contentDescription="@string/account_image_description"
+ android:background="@drawable/message_border"
+ android:padding="1dp">
</ImageView>
<LinearLayout
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml
index f3b9cff45..30b0d28b3 100644
--- a/src/main/res/layout/activity_contact_details.xml
+++ b/src/main/res/layout/activity_contact_details.xml
@@ -26,7 +26,8 @@
android:scaleType="centerCrop"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
- />
+ android:background="@drawable/message_border"
+ android:padding="1dp" />
<LinearLayout
android:id="@+id/details_jidbox"
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml
index 7d84a4af3..b893f89cb 100644
--- a/src/main/res/layout/activity_edit_account.xml
+++ b/src/main/res/layout/activity_edit_account.xml
@@ -32,7 +32,9 @@
android:layout_height="72dp"
android:layout_alignParentTop="true"
android:layout_marginRight="16dp"
- android:contentDescription="@string/account_image_description"/>
+ android:contentDescription="@string/account_image_description"
+ android:background="@drawable/message_border"
+ android:padding="1dp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml
index 116026512..8f26d6647 100644
--- a/src/main/res/layout/activity_muc_details.xml
+++ b/src/main/res/layout/activity_muc_details.xml
@@ -40,7 +40,9 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentLeft="true"
- android:src="@drawable/ic_profile">
+ android:src="@drawable/ic_profile"
+ android:background="@drawable/message_border"
+ android:padding="1dp">
</ImageView>
<LinearLayout
diff --git a/src/main/res/layout/contact.xml b/src/main/res/layout/contact.xml
index 69545c250..967b7d7c9 100644
--- a/src/main/res/layout/contact.xml
+++ b/src/main/res/layout/contact.xml
@@ -7,11 +7,13 @@
<ImageView
android:id="@+id/contact_photo"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ android:layout_width="56dp"
+ android:layout_height="56dp"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop"
- android:src="@drawable/ic_profile" >
+ android:src="@drawable/ic_profile"
+ android:background="@drawable/message_border"
+ android:padding="1dp">
</ImageView>
<LinearLayout
diff --git a/src/main/res/layout/conversation_list_row.xml b/src/main/res/layout/conversation_list_row.xml
index 69abb2256..f6607010a 100644
--- a/src/main/res/layout/conversation_list_row.xml
+++ b/src/main/res/layout/conversation_list_row.xml
@@ -26,7 +26,9 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_alignParentLeft="true"
- android:scaleType="centerCrop" />
+ android:scaleType="centerCrop"
+ android:background="@drawable/message_border"
+ android:padding="1dp" />
<RelativeLayout
android:layout_width="fill_parent"
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml
index 39bb842ac..9fda44cb2 100644
--- a/src/main/res/layout/message_received.xml
+++ b/src/main/res/layout/message_received.xml
@@ -90,8 +90,12 @@
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginRight="-1.5dp"
- android:padding="0dp"
android:scaleType="fitXY"
- android:src="@drawable/ic_profile" />
+ android:src="@drawable/ic_profile"
+ android:background="@drawable/message_border"
+ android:paddingLeft="1dp"
+ android:paddingTop="1dp"
+ android:paddingBottom="1dp"
+ android:paddingRight="0dp" />
</RelativeLayout> \ No newline at end of file
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml
index 3e8546432..0a59c7544 100644
--- a/src/main/res/layout/message_sent.xml
+++ b/src/main/res/layout/message_sent.xml
@@ -101,8 +101,12 @@
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginLeft="-1.5dp"
- android:padding="0dp"
android:scaleType="fitXY"
- android:src="@drawable/ic_profile" />
+ android:src="@drawable/ic_profile"
+ android:background="@drawable/message_border"
+ android:paddingTop="1dp"
+ android:paddingRight="1dp"
+ android:paddingBottom="1dp"
+ android:paddingLeft="0dp" />
</RelativeLayout> \ No newline at end of file
diff --git a/src/main/res/layout/message_status.xml b/src/main/res/layout/message_status.xml
index 20544cd5e..ae44474ff 100644
--- a/src/main/res/layout/message_status.xml
+++ b/src/main/res/layout/message_status.xml
@@ -15,9 +15,10 @@
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginRight="-1.5dp"
- android:padding="0dp"
+ android:padding="1dp"
android:scaleType="fitXY"
- android:src="@drawable/ic_profile" />
+ android:src="@drawable/ic_profile"
+ android:background="@drawable/message_border" />
<TextView
android:id="@+id/status_message"