diff options
author | Tony Mantler <nicoya@google.com> | 2014-07-18 10:11:29 -0700 |
---|---|---|
committer | Tony Mantler <nicoya@google.com> | 2014-07-18 16:33:13 -0700 |
commit | 7b9eefff3a1e8638f83ce54bbd1024d3e12534a0 (patch) | |
tree | d9288f44acafd6fdd50a288e8fc36307929f22a7 /res/layout/drawer_footer_item.xml | |
parent | 97f8a03ca7924aab6f4a9c2f687af3447902fc36 (diff) | |
download | android_packages_apps_UnifiedEmail-7b9eefff3a1e8638f83ce54bbd1024d3e12534a0.tar.gz android_packages_apps_UnifiedEmail-7b9eefff3a1e8638f83ce54bbd1024d3e12534a0.tar.bz2 android_packages_apps_UnifiedEmail-7b9eefff3a1e8638f83ce54bbd1024d3e12534a0.zip |
Add space in drawer headers
b/15966080
Change-Id: Ic432cc318ea30a0c8930837493f62cf345841dcc
Diffstat (limited to 'res/layout/drawer_footer_item.xml')
-rw-r--r-- | res/layout/drawer_footer_item.xml | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/res/layout/drawer_footer_item.xml b/res/layout/drawer_footer_item.xml index 49ce5ab2c..808187e35 100644 --- a/res/layout/drawer_footer_item.xml +++ b/res/layout/drawer_footer_item.xml @@ -17,9 +17,19 @@ --> <!-- Item in the drawer that launches the Help or Feedback activities. --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="wrap_content" > + android:layout_height="wrap_content" + android:orientation="vertical" > + + <View + android:id="@+id/top_border" + android:layout_width="match_parent" + android:layout_height="@dimen/drawer_item_divider_thickness" + android:background="@color/separator_color" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" /> + <LinearLayout android:layout_height="wrap_content" @@ -45,13 +55,4 @@ style="@style/DrawerFooterListItemStyle"/> </LinearLayout> - <!-- This top "border" is deliberately inset into the item to prevent it from interfering --> - <!-- visually with its floaty counterpart. This is also why it isn't just its own list item. --> - <View - android:id="@+id/top_border" - android:layout_width="match_parent" - android:layout_height="1px" - android:background="@color/separator_color" - android:visibility="gone" /> - -</FrameLayout> +</LinearLayout> |