From a8c44da532cce6178872f04de19bb954c55d00b8 Mon Sep 17 00:00:00 2001 From: Briar Rose Schreiber Date: Sun, 9 Apr 2017 01:13:18 -0700 Subject: [PATCH] Adjust light theme tab bar area Adds a material shadow below tab layouts. This is not very noticeable in the default theme, but in the light theme in visually demarcates where the tab layout ends. --- app/src/main/res/layout/activity_account.xml | 11 ++++++++++- app/src/main/res/layout/activity_main.xml | 20 +++++++++++++++----- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_account.xml b/app/src/main/res/layout/activity_account.xml index 12306757..41b8c1e2 100644 --- a/app/src/main/res/layout/activity_account.xml +++ b/app/src/main/res/layout/activity_account.xml @@ -166,6 +166,15 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> + + - \ 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 7584e980..39e2effa 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -55,6 +55,7 @@ + - - + android:layout_height="2dp" + app:layout_anchor="@id/tab_layout" + app:layout_anchorGravity="bottom" + android:background="@drawable/material_drawer_shadow_bottom" + android:visibility="visible" /> + - \ No newline at end of file + + +