• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
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
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
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-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18              xmlns:app="http://schemas.android.com/apk/res-auto"
19              android:layout_width="match_parent"
20              android:layout_height="match_parent"
21              android:orientation="vertical">
22
23    <android.support.v7.widget.Toolbar
24            android:id="@+id/toolbar"
25            android:layout_height="wrap_content"
26            android:layout_width="match_parent"
27            android:minHeight="?attr/actionBarSize"
28            android:background="?attr/colorPrimary" />
29
30    <ScrollView
31            android:layout_width="match_parent"
32            android:layout_height="match_parent">
33
34        <LinearLayout
35                android:layout_width="match_parent"
36                android:layout_height="match_parent"
37                android:orientation="vertical">
38
39            <Button
40                    android:id="@+id/toggle_home_as_up"
41                    android:layout_width="wrap_content"
42                    android:layout_height="wrap_content"
43                    android:text="@string/toggle_home_as_up"/>
44
45            <Button
46                    android:id="@+id/toggle_show_home"
47                    android:layout_width="wrap_content"
48                    android:layout_height="wrap_content"
49                    android:text="@string/toggle_show_home"/>
50
51            <Button
52                    android:id="@+id/toggle_use_logo"
53                    android:layout_width="wrap_content"
54                    android:layout_height="wrap_content"
55                    android:text="@string/toggle_use_logo"/>
56
57            <Button
58                    android:id="@+id/toggle_show_title"
59                    android:layout_width="wrap_content"
60                    android:layout_height="wrap_content"
61                    android:text="@string/toggle_show_title"/>
62
63            <Button
64                    android:id="@+id/toggle_show_custom"
65                    android:layout_width="wrap_content"
66                    android:layout_height="wrap_content"
67                    android:text="@string/toggle_show_custom"/>
68
69            <Button
70                    android:id="@+id/cycle_custom_gravity"
71                    android:layout_width="wrap_content"
72                    android:layout_height="wrap_content"
73                    android:text="@string/cycle_custom_gravity"/>
74
75            <Button
76                    android:id="@+id/toggle_visibility"
77                    android:layout_width="wrap_content"
78                    android:layout_height="wrap_content"
79                    android:text="@string/toggle_visibility"/>
80
81        </LinearLayout>
82
83    </ScrollView>
84
85</LinearLayout>