diff options
| author | 2018-01-18 06:37:27 +0000 | |
|---|---|---|
| committer | 2018-01-18 06:37:27 +0000 | |
| commit | 1fc49dc6173cb9834fa41d03484352bc6ab59527 (patch) | |
| tree | c6e7fa799dcb6f6241a8ae4cbb6bd2c075b68967 | |
| parent | 5736685560ebdacd9c9ab4205014f2298c08b523 (diff) | |
| parent | f1c90e54bbc5edf1d2649485b5fb6810217d4e5f (diff) | |
Merge "Clean up: remove drawer from root settings layout"
| -rw-r--r-- | packages/SettingsLib/res/layout/settings_with_drawer.xml | 50 |
1 files changed, 22 insertions, 28 deletions
diff --git a/packages/SettingsLib/res/layout/settings_with_drawer.xml b/packages/SettingsLib/res/layout/settings_with_drawer.xml index 55c192d56a4d..e1d5c0ff01de 100644 --- a/packages/SettingsLib/res/layout/settings_with_drawer.xml +++ b/packages/SettingsLib/res/layout/settings_with_drawer.xml @@ -13,34 +13,28 @@ See the License for the specific language governing permissions and limitations under the License. --> -<android.support.v4.widget.DrawerLayout +<!-- The main content view --> +<LinearLayout + android:id="@+id/content_parent" xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/drawer_layout" android:layout_width="match_parent" - android:layout_height="match_parent"> - <!-- The main content view --> - <LinearLayout - android:id="@+id/content_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + <Toolbar + android:id="@+id/action_bar" + style="?android:attr/actionBarStyle" android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:fitsSystemWindows="true"> - <Toolbar - android:id="@+id/action_bar" - style="?android:attr/actionBarStyle" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:theme="?android:attr/actionBarTheme" - android:navigationContentDescription="@*android:string/action_bar_up_description"/> - <FrameLayout - android:id="@+id/content_header_container" - style="?android:attr/actionBarStyle" - android:layout_width="match_parent" - android:layout_height="wrap_content"/> - <FrameLayout - android:id="@+id/content_frame" - android:layout_width="match_parent" - android:layout_height="fill_parent" - android:background="?android:attr/windowBackground" /> - </LinearLayout> -</android.support.v4.widget.DrawerLayout> + android:layout_height="wrap_content" + android:theme="?android:attr/actionBarTheme" + android:navigationContentDescription="@*android:string/action_bar_up_description" /> + <FrameLayout + android:id="@+id/content_header_container" + style="?android:attr/actionBarStyle" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + <FrameLayout + android:id="@+id/content_frame" + android:layout_width="match_parent" + android:layout_height="fill_parent" + android:background="?android:attr/windowBackground" /> +</LinearLayout> |