From c8d7c07e4a8d23f5e8ed0723777caeff1a3c7de6 Mon Sep 17 00:00:00 2001 From: Kirill Grouchnikov Date: Thu, 21 Jan 2016 11:18:28 -0500 Subject: [PATCH] Simplify the content layout of the DrawerLayout demo. No need to overcomplicate things with FrameLayout and margins. Vertical LinearLayout does the job for this specific case. Change-Id: I23bf53cc2a90b602f8956782a0c0af1e20a8cd52 --- .../res/layout/drawer_layout.xml | 41 ++++++++----------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/samples/Support7Demos/res/layout/drawer_layout.xml b/samples/Support7Demos/res/layout/drawer_layout.xml index 1249b8b76..e2d038787 100644 --- a/samples/Support7Demos/res/layout/drawer_layout.xml +++ b/samples/Support7Demos/res/layout/drawer_layout.xml @@ -29,37 +29,32 @@ - + - + android:id="@+id/toolbar" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" /> + + - + android:text="@string/drawer_layout_summary" + android:textAppearance="?android:attr/textAppearanceMedium" + android:padding="16dp"/> - +