From d41bf5d7e73cad3bf3f9dd9679776e52d4c4440b Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Sat, 5 Aug 2017 10:29:04 +0200 Subject: [PATCH] code cleanup, simplify AccountActivityLayout --- .../main/res/drawable/ic_hourglass_24dp.xml | 9 --- .../res/drawable/ic_person_minus_24px.xml | 12 --- app/src/main/res/layout/activity_account.xml | 73 ++++++++----------- 3 files changed, 32 insertions(+), 62 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_hourglass_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_person_minus_24px.xml diff --git a/app/src/main/res/drawable/ic_hourglass_24dp.xml b/app/src/main/res/drawable/ic_hourglass_24dp.xml deleted file mode 100644 index 22c1f349..00000000 --- a/app/src/main/res/drawable/ic_hourglass_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_person_minus_24px.xml b/app/src/main/res/drawable/ic_person_minus_24px.xml deleted file mode 100644 index c8a7ea0b..00000000 --- a/app/src/main/res/drawable/ic_person_minus_24px.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_account.xml b/app/src/main/res/layout/activity_account.xml index e0197e9d..bd1ecce0 100644 --- a/app/src/main/res/layout/activity_account.xml +++ b/app/src/main/res/layout/activity_account.xml @@ -84,52 +84,43 @@ android:layout_below="@id/follow_btn" android:layout_marginEnd="10dp" android:layout_marginRight="10dp" - android:text="Follows you" + android:text="@string/follows_you" android:textColor="?android:textColorPrimary" /> - - - - - - - - - - - + android:ellipsize="end" + android:maxLines="1" + android:textColor="?android:textColorPrimary" + android:textSize="18sp" + android:textStyle="normal|bold" /> + + + +