From: Damyan Ivanov Date: Sat, 12 Jan 2019 05:32:31 +0000 (+0000) Subject: landscape layout adjustments X-Git-Tag: v0.3~61 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=57240f714b30ac2c75b59687f6ceab5c3da2dc52;p=mobile-ledger.git landscape layout adjustments --- diff --git a/app/src/main/res/layout-h360dp/nav_header_logo.xml b/app/src/main/res/layout-h360dp/nav_header_logo.xml new file mode 100644 index 00000000..c6d35bf2 --- /dev/null +++ b/app/src/main/res/layout-h360dp/nav_header_logo.xml @@ -0,0 +1,27 @@ + + + \ 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 656af511..81b8a28c 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -155,10 +155,9 @@ android:id="@+id/root_frame" android:layout_width="match_parent" android:layout_height="0dp" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintTop_toBottomOf="@+id/main_header" app:layout_behavior="@string/appbar_scrolling_view_behavior" - > + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toBottomOf="@+id/main_header"> @@ -179,55 +178,58 @@ android:fitsSystemWindows="true" android:theme="@style/ThemeOverlay.AppCompat.Light"> - + android:layout_marginBottom="0dp" + android:orientation="vertical"> - + android:divider="@drawable/list_divider" + android:elevation="2dp" + android:orientation="vertical" + android:showDividers="beginning" + app:layout_constraintBottom_toBottomOf="parent"> - - - + android:layout_weight="1" + android:drawableStart="@drawable/ic_view_list_black_24dp" + android:onClick="nav_profiles_clicked" + android:text="@string/profiles" /> - + - + - + + + + + + + + + + + + + + - - - - - - - - - - - - + diff --git a/app/src/main/res/layout/nav_header_logo.xml b/app/src/main/res/layout/nav_header_logo.xml new file mode 100644 index 00000000..48d0b56d --- /dev/null +++ b/app/src/main/res/layout/nav_header_logo.xml @@ -0,0 +1,23 @@ + + + \ No newline at end of file diff --git a/app/src/main/res/values-h360dp/dimens.xml b/app/src/main/res/values-h360dp/dimens.xml new file mode 100644 index 00000000..eb26a27c --- /dev/null +++ b/app/src/main/res/values-h360dp/dimens.xml @@ -0,0 +1,21 @@ + + + + 8dp + 16dp + \ No newline at end of file diff --git a/app/src/main/res/values-h360dp/styles.xml b/app/src/main/res/values-h360dp/styles.xml new file mode 100644 index 00000000..990ea35a --- /dev/null +++ b/app/src/main/res/values-h360dp/styles.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index d00fc166..060121bc 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -18,8 +18,8 @@ 16dp - 16dp - 8dp + 8dp + 4dp 16dp 200dp 200dp diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 2ee03e40..bb354f50 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,5 +1,5 @@