Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / screen_toolbar.xml
blob88c9cf6007fc2191a65fc4772711ce5877a6edd9
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2014 The Android Open Source Project
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
8           http://www.apache.org/licenses/LICENSE-2.0
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
17 <!--
18 This is an optimized layout for a screen with a toolbar enabled.
19 -->
21 <com.android.internal.widget.ActionBarOverlayLayout
22     xmlns:android="http://schemas.android.com/apk/res/android"
23     android:id="@+id/decor_content_parent"
24     android:layout_width="match_parent"
25     android:layout_height="match_parent"
26     android:splitMotionEvents="false"
27     android:theme="?attr/actionBarTheme">
28     <FrameLayout android:id="@android:id/content"
29                  android:layout_width="match_parent"
30                  android:layout_height="match_parent" />
31     <com.android.internal.widget.ActionBarContainer
32         android:id="@+id/action_bar_container"
33         android:layout_width="match_parent"
34         android:layout_height="wrap_content"
35         android:layout_alignParentTop="true"
36         style="?attr/actionBarStyle"
37         android:transitionName="android:action_bar"
38         android:touchscreenBlocksFocus="true"
39         android:gravity="top">
40         <Toolbar
41             android:id="@+id/action_bar"
42             android:layout_width="match_parent"
43             android:layout_height="wrap_content"
44             android:navigationContentDescription="@string/action_bar_up_description"
45             style="?attr/toolbarStyle" />
46         <com.android.internal.widget.ActionBarContextView
47             android:id="@+id/action_context_bar"
48             android:layout_width="match_parent"
49             android:layout_height="wrap_content"
50             android:visibility="gone"
51             style="?attr/actionModeStyle" />
52     </com.android.internal.widget.ActionBarContainer>
53 </com.android.internal.widget.ActionBarOverlayLayout>