• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_height="fill_parent"
20    android:layout_width="fill_parent"
21    android:orientation="vertical"
22    android:paddingTop="@dimen/screen_margin_top"
23    android:paddingLeft="@dimen/screen_margin_sides"
24    android:paddingRight="@dimen/screen_margin_sides"
25    android:paddingBottom="@dimen/screen_margin_bottom">
26
27    <TextView
28        android:id="@+id/title"
29        android:layout_width="wrap_content"
30        android:layout_height="wrap_content"
31        android:minHeight="@dimen/title_height"
32        android:layout_marginLeft="@dimen/content_margin_left"
33        android:textAppearance="@style/AccessibilityTutorialTitle"
34        android:gravity="bottom"
35        android:clickable="false" />
36
37    <View
38        android:layout_marginTop="8dip"
39        android:layout_marginBottom="8dip"
40        android:layout_below="@id/title"
41        style="@style/AccessibilityTutorialDivider" />
42
43    <LinearLayout
44        android:id="@+id/content"
45        android:layout_width="match_parent"
46        android:layout_height="0dip"
47        android:layout_weight="1.0"
48        android:orientation="vertical">
49
50    </LinearLayout>
51
52    <LinearLayout
53        android:layout_width="match_parent"
54        android:layout_height="wrap_content"
55        android:orientation="vertical">
56
57        <View
58            style="@style/AccessibilityTutorialDivider" />
59
60        <view
61            class="com.android.settings.AccessibilityTutorialActivity$TutorialTextView"
62            android:id="@+id/instructions"
63            android:layout_width="match_parent"
64            android:layout_height="wrap_content"
65            android:layout_marginTop="@dimen/description_margin_top"
66            android:layout_marginLeft="@dimen/description_margin_sides"
67            android:layout_marginRight="@dimen/description_margin_sides"
68            android:layout_marginBottom="16dip"
69            android:lineSpacingExtra="5sp"
70            android:textAppearance="?android:attr/textAppearanceMedium" />
71
72    </LinearLayout>
73
74    <LinearLayout
75        android:layout_width="match_parent"
76        android:layout_height="wrap_content"
77        android:orientation="vertical">
78
79        <View
80            android:layout_marginBottom="16dip"
81            style="@style/AccessibilityTutorialDivider" />
82
83        <LinearLayout
84            android:layout_width="match_parent"
85            android:layout_height="wrap_content"
86            android:orientation="horizontal">
87
88            <Button
89                android:id="@+id/skip_button"
90                style="@style/AccessibilityTutorialButton"
91                android:text="@string/accessibility_tutorial_skip"
92                android:visibility="gone" />
93
94            <LinearLayout
95                android:layout_width="fill_parent"
96                android:layout_height="wrap_content"
97                android:orientation="horizontal"
98                android:gravity="right">
99
100                <Button
101                    android:id="@+id/back_button"
102                    style="@style/AccessibilityTutorialButton"
103                    android:text="@string/accessibility_tutorial_back"
104                    android:visibility="gone" />
105
106                <Button
107                    android:id="@+id/next_button"
108                    style="@style/AccessibilityTutorialButton"
109                    android:text="@string/accessibility_tutorial_next"
110                    android:visibility="gone" />
111
112                <Button
113                    android:id="@id/finish_button"
114                    style="@style/AccessibilityTutorialButton"
115                    android:text="@string/accessibility_tutorial_finish"
116                    android:visibility="gone" />
117
118            </LinearLayout>
119
120        </LinearLayout>
121
122    </LinearLayout>
123
124</LinearLayout>