From 74e05023b4f884b31876357c013513c51aff5369 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 21 Jul 2015 02:21:34 +0200 Subject: [PATCH] very subtle --- build.gradle | 1 + src/main/res/layout/account_row.xml | 19 +++++++++--------- src/main/res/layout/activity_edit_account.xml | 15 ++++++++------ src/main/res/layout/activity_muc_details.xml | 13 ++++++------ src/main/res/layout/contact.xml | 15 +++++++------- src/main/res/layout/conversation_list_row.xml | 12 ++++++----- src/main/res/layout/message_received.xml | 20 ++++++++++--------- src/main/res/layout/message_sent.xml | 20 ++++++++++--------- src/main/res/layout/message_status.xml | 20 ++++++++++--------- 9 files changed, 75 insertions(+), 60 deletions(-) diff --git a/build.gradle b/build.gradle index d16fd3b8..bfd2d628 100644 --- a/build.gradle +++ b/build.gradle @@ -38,6 +38,7 @@ dependencies { compile 'me.leolin:ShortcutBadger:1.1.1@aar' compile 'com.kyleduo.switchbutton:library:1.2.8' compile 'org.whispersystems:axolotl-android:1.3.4' + compile 'com.makeramen:roundedimageview:2.1.1' } android { diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml index 077170b2..cac9a9fa 100644 --- a/src/main/res/layout/account_row.xml +++ b/src/main/res/layout/account_row.xml @@ -1,20 +1,21 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?android:attr/activatedBackgroundIndicator" + android:paddingLeft="8dp" + android:paddingBottom="8dp" + android:paddingTop="8dp"> - - + android:contentDescription="@string/account_image_description" + app:riv_corner_radius="2dp" /> + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/grey200"> - + android:contentDescription="@string/account_image_description" + app:riv_corner_radius="2dp"/> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:background="@color/grey200"> - - + android:src="@drawable/ic_profile" + app:riv_corner_radius="2dp" /> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?android:attr/activatedBackgroundIndicator" + android:padding="8dp"> - - + android:src="@drawable/ic_profile" + app:riv_corner_radius="2dp" /> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:descendantFocusability="blocksDescendants"> - + android:scaleType="centerCrop" + app:riv_corner_radius="2dp" /> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingBottom="3dp" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:paddingTop="3dp"> - + android:src="@drawable/ic_profile" + app:riv_corner_radius="2dp" /> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingBottom="3dp" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:paddingTop="3dp"> - + android:layout_alignParentEnd="true" + app:riv_corner_radius="2dp" /> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingBottom="5dp" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:paddingTop="5dp"> - + android:src="@drawable/ic_profile" + app:riv_corner_radius="1dp"/>