From: Damyan Ivanov Date: Wed, 20 Feb 2019 20:05:15 +0000 (+0200) Subject: leave nav bar header at primary color; accent is too strong X-Git-Tag: v0.7~61 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=53dcb016f61c446a5adcdf179f024c6f59112fec;p=mobile-ledger.git leave nav bar header at primary color; accent is too strong a tiny divider at the top sets it apart from the action bar --- diff --git a/app/src/main/res/drawable-anydpi-v21/side_nav_bar.xml b/app/src/main/res/drawable-anydpi-v21/side_nav_bar.xml index c141e312..ddb10ac3 100644 --- a/app/src/main/res/drawable-anydpi-v21/side_nav_bar.xml +++ b/app/src/main/res/drawable-anydpi-v21/side_nav_bar.xml @@ -18,6 +18,6 @@ \ No newline at end of file diff --git a/app/src/main/res/drawable/list_divider_inside_out.xml b/app/src/main/res/drawable/list_divider_inside_out.xml new file mode 100644 index 00000000..391a7d47 --- /dev/null +++ b/app/src/main/res/drawable/list_divider_inside_out.xml @@ -0,0 +1,26 @@ + + + + + + + \ 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 8a380b0e..bd9f2f84 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -235,7 +235,9 @@ android:id="@+id/nav_upper" android:layout_width="match_parent" android:layout_height="wrap_content" + android:divider="@drawable/list_divider_inside_out" android:orientation="vertical" + android:showDividers="beginning" app:layout_constraintBottom_toTopOf="@+id/nav_fixed_items" app:layout_constraintTop_toBottomOf="@+id/nav_header">