• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright (C) 2008 The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<LinearLayout
21            xmlns:android="http://schemas.android.com/apk/res/android"
22            style="@style/info_layout">
23
24    <ScrollView
25            android:layout_width="fill_parent"
26            android:layout_height="0dip"
27            android:layout_weight="1">
28        <LinearLayout android:layout_width="match_parent"
29                android:layout_height="wrap_content"
30                android:orientation="vertical">
31            <TextView
32                android:layout_width="match_parent"
33                android:layout_height="wrap_content"
34                android:textSize="18sp"
35                android:text="@string/master_clear_desc" />
36            <LinearLayout android:id="@+id/erase_external_container"
37                    android:layout_width="match_parent"
38                    android:layout_height="wrap_content"
39                    android:orientation="horizontal"
40                    android:focusable="true"
41                    android:clickable="true">
42                <CheckBox android:id="@+id/erase_external"
43                        android:layout_width="wrap_content"
44                        android:layout_height="wrap_content"
45                        android:layout_gravity="top"
46                        android:paddingRight="8dp"
47                        android:focusable="false"
48                        android:clickable="false"
49                        android:duplicateParentState="true" />
50                <LinearLayout android:layout_width="match_parent"
51                        android:layout_height="wrap_content"
52                        android:orientation="vertical">
53                    <TextView
54                        android:layout_width="wrap_content"
55                        android:layout_height="wrap_content"
56                        android:paddingTop="12dp"
57                        android:textSize="18sp"
58                        android:text="@string/erase_external_storage" />
59                    <TextView
60                        android:layout_width="wrap_content"
61                        android:layout_height="wrap_content"
62                        android:paddingTop="4sp"
63                        android:textSize="14sp"
64                        android:text="@string/erase_external_storage_description" />
65                </LinearLayout>
66            </LinearLayout>
67        </LinearLayout>
68    </ScrollView>
69    <Button
70            android:id="@+id/initiate_master_clear"
71            android:layout_gravity="center_horizontal"
72            android:layout_marginTop="20dip"
73            android:layout_width="150dip"
74            android:layout_height="wrap_content"
75            android:text="@string/master_clear_button_text"
76            android:gravity="center" />
77
78</LinearLayout>
79