From 229bfe8d22199e4e9885e07e80eda39836cf9c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Borcz?= Date: Tue, 11 Dec 2018 15:54:26 +0100 Subject: [PATCH] Adjustment login layout to material design (#197) --- .../res/drawable/ic_login_person_24px.xml | 9 --- .../main/res/layout/item_login_options.xml | 63 +++++++++---------- 2 files changed, 28 insertions(+), 44 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_login_person_24px.xml diff --git a/app/src/main/res/drawable/ic_login_person_24px.xml b/app/src/main/res/drawable/ic_login_person_24px.xml deleted file mode 100644 index c300d6e0..00000000 --- a/app/src/main/res/drawable/ic_login_person_24px.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/layout/item_login_options.xml b/app/src/main/res/layout/item_login_options.xml index 3ab0e7bd..c19d5a66 100644 --- a/app/src/main/res/layout/item_login_options.xml +++ b/app/src/main/res/layout/item_login_options.xml @@ -2,50 +2,43 @@ + android:padding="16dp"> + android:layout_width="40dp" + android:layout_height="40dp" + android:layout_marginEnd="16dp" + android:layout_marginRight="16dp" + android:tint="@android:color/black" + app:srcCompat="@drawable/ic_all_account_24dp" /> - + android:layout_toRightOf="@id/loginItemImage" + android:ellipsize="end" + android:maxLines="1" + android:text="@string/app_name" + android:textSize="16sp" + app:firstBaselineToTopHeight="16dp" /> - + - - -