From 9ed175cb0cadecde76dcdabc4bea28fa07202d98 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 13 Jan 2019 17:58:44 +0000 Subject: [PATCH] larger logo in the drawer, show on small screens to and move the dext on the right --- .../res/layout-h360dp/nav_header_logo.xml | 27 --------------- app/src/main/res/layout/activity_main.xml | 33 ++++++++++++------- app/src/main/res/layout/nav_header_logo.xml | 9 +++-- 3 files changed, 27 insertions(+), 42 deletions(-) delete mode 100644 app/src/main/res/layout-h360dp/nav_header_logo.xml diff --git a/app/src/main/res/layout-h360dp/nav_header_logo.xml b/app/src/main/res/layout-h360dp/nav_header_logo.xml deleted file mode 100644 index 1b73711e..00000000 --- a/app/src/main/res/layout-h360dp/nav_header_logo.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 01e4bb2a..d3eb61d6 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -244,8 +244,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/side_nav_bar" - android:gravity="bottom" - android:orientation="vertical" + android:gravity="center_vertical" + android:orientation="horizontal" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingRight="@dimen/activity_horizontal_margin" @@ -255,17 +255,26 @@ - - - + android:layout_height="match_parent" + android:layout_marginStart="16dp" + android:gravity="center_vertical" + android:orientation="vertical"> + + + + + diff --git a/app/src/main/res/layout/nav_header_logo.xml b/app/src/main/res/layout/nav_header_logo.xml index 48d0b56d..22fbb23e 100644 --- a/app/src/main/res/layout/nav_header_logo.xml +++ b/app/src/main/res/layout/nav_header_logo.xml @@ -16,8 +16,11 @@ --> \ No newline at end of file -- 2.39.5