1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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<!-- Demonstrates secure views. -->
18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent">
21    <LinearLayout
22        android:orientation="vertical"
23        android:padding="10dip"
24        android:layout_width="match_parent"
25        android:layout_height="match_parent">
26        <TextView
27            android:id="@+id/secure_view_description"
28            android:layout_width="match_parent"
29            android:layout_height="wrap_content"
30            android:text="@string/secure_view_description"/>
31
32        <TextView
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:layout_marginTop="10dip"
36            android:textStyle="bold"
37            android:text="@string/secure_view_step1_heading"/>
38
39        <TextView
40            android:layout_width="match_parent"
41            android:layout_height="wrap_content"
42            android:text="@string/secure_view_step1_detail"/>
43
44        <Button
45            android:id="@+id/secure_view_toast_button"
46            android:layout_width="wrap_content"
47            android:layout_height="wrap_content"
48            android:layout_gravity="center_horizontal"
49            android:text="@string/secure_view_pop_toast"/>
50
51        <TextView
52            android:layout_width="match_parent"
53            android:layout_height="wrap_content"
54            android:layout_marginTop="10dip"
55            android:textStyle="bold"
56            android:text="@string/secure_view_step2_heading"/>
57
58        <TextView
59            android:layout_width="match_parent"
60            android:layout_height="wrap_content"
61            android:text="@string/secure_view_step2_detail"/>
62
63        <Button
64            android:id="@+id/secure_view_unsecure_button"
65            android:layout_width="wrap_content"
66            android:layout_height="wrap_content"
67            android:layout_gravity="center_horizontal"
68            android:textColor="#833"
69            android:text="@string/secure_view_button"/>
70
71        <TextView
72            android:layout_width="match_parent"
73            android:layout_height="wrap_content"
74            android:layout_marginTop="10dip"
75            android:textStyle="bold"
76            android:text="@string/secure_view_step3_heading"/>
77
78        <TextView
79            android:layout_width="match_parent"
80            android:layout_height="wrap_content"
81            android:text="@string/secure_view_step3_detail"/>
82
83        <Button
84            android:id="@+id/secure_view_builtin_secure_button"
85            android:layout_width="wrap_content"
86            android:layout_height="wrap_content"
87            android:layout_gravity="center_horizontal"
88            android:filterTouchesWhenObscured="true"
89            android:textColor="#833"
90            android:text="@string/secure_view_button"/>
91
92        <TextView
93            android:layout_width="match_parent"
94            android:layout_height="wrap_content"
95            android:layout_marginTop="10dip"
96            android:textStyle="bold"
97            android:text="@string/secure_view_step4_heading"/>
98
99        <TextView
100            android:layout_width="match_parent"
101            android:layout_height="wrap_content"
102            android:text="@string/secure_view_step4_detail"/>
103
104        <Button
105            android:id="@+id/secure_view_custom_secure_button"
106            android:layout_width="wrap_content"
107            android:layout_height="wrap_content"
108            android:layout_gravity="center_horizontal"
109            android:textColor="#833"
110            android:text="@string/secure_view_button"/>
111    </LinearLayout>
112</ScrollView>
113