From 026297563549785d59c035e5ba36739bf1c28ec9 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 18 Feb 2018 12:13:51 +0100 Subject: [PATCH] started to change text style to app compat --- .../ui/StartConversationActivity.java | 2 ++ src/main/res/layout/account_row.xml | 1 - .../res/layout/activity_contact_details.xml | 20 ++++--------- src/main/res/layout/activity_muc_details.xml | 28 ++++++------------- src/main/res/layout/contact.xml | 9 ++---- src/main/res/layout/message_received.xml | 1 - src/main/res/layout/message_sent.xml | 1 - src/main/res/layout/message_status.xml | 1 - src/main/res/values/styles.xml | 6 ++-- 9 files changed, 22 insertions(+), 47 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java index bece5a245..4bba90dd4 100644 --- a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java @@ -1034,6 +1034,8 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU super.onViewCreated(view, savedInstanceState); registerForContextMenu(getListView()); getListView().setFastScrollEnabled(true); + getListView().setDivider(null); + getListView().setDividerHeight(0); } @Override diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml index bf6893e28..3e6048a07 100644 --- a/src/main/res/layout/account_row.xml +++ b/src/main/res/layout/account_row.xml @@ -13,7 +13,6 @@ android:layout_width="48dp" android:layout_height="48dp" android:layout_alignParentLeft="true" - android:src="@drawable/ic_profile" android:contentDescription="@string/account_image_description" app:riv_corner_radius="2dp" /> diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml index f0cc0251d..94e30a14e 100644 --- a/src/main/res/layout/activity_contact_details.xml +++ b/src/main/res/layout/activity_contact_details.xml @@ -47,9 +47,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/account_settings_example_jabber_id" - android:textColor="?attr/color_text_primary" - android:textSize="?attr/TextSizeHeadline" - android:textStyle="bold"/> + android:textAppearance="@style/TextAppearance.AppCompat.Title"/> + android:textAppearance="@style/TextAppearance.AppCompat.Subhead"/> + android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>