blob: 52ef2fc31a4d594d073f481a6eea8a885f6a0bf1 [file] [log] [blame]
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Settings/res/layout/sdcard_settings_screen.xml
4**
5** Copyright 2007, 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21 android:orientation="vertical"
22 android:layout_width="fill_parent"
23 android:layout_height="fill_parent">
24
25 <LinearLayout android:id="@+id/list"
26 android:orientation="vertical"
27 android:padding="10dip"
28 android:layout_width="fill_parent"
29 android:layout_height="wrap_content">
30
31 <LinearLayout android:id="@+id/usb"
32 android:orientation="vertical"
33 android:paddingBottom="10dip"
34 android:layout_width="fill_parent"
35 android:layout_height="wrap_content">
36
37 <CheckBox android:id="@+id/mass_storage"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:text="@string/sdcard_settings_screen_mass_storage_text">
41 <requestFocus/>
42 </CheckBox>
43
44 <TextView android:text="@string/sdcard_changes_instructions" style="@style/info_small" />
45 </LinearLayout>
46
47 <!-- divider line -->
48 <View android:background="#FF000000"
49 android:layout_width="fill_parent"
50 android:layout_height="1dip" />
51
52 <LinearLayout android:id="@+id/mounted"
53 android:orientation="vertical"
54 android:layout_width="fill_parent"
55 android:layout_height="wrap_content"
56 android:paddingTop="10dip">
57
58 <TextView android:id="@+id/read_only"
59 android:text="@string/sdcard_settings_read_only_status"
60 style="@style/info_label" />
61
62 <Button android:id="@+id/sdcard_unmount"
63 android:text="@string/sdcard_unmount"
64 android:textSize="14sp"
65 android:layout_marginTop="8dip"
66 android:layout_width="wrap_content" android:layout_height="wrap_content" />
67
68 <TableLayout
69 android:layout_width="fill_parent"
70 android:layout_height="wrap_content"
71 android:paddingTop="10dip">
72 <TableRow>
73 <TextView android:text="@string/sdcard_settings_total_bytes_label" style="@style/info_label" />
74 <TextView android:id="@+id/total" style="@style/info_value" />
75 </TableRow>
76 <TableRow>
77 <TextView android:text="@string/sdcard_settings_used_bytes_label" style="@style/info_label" />
78 <TextView android:id="@+id/used" style="@style/info_value" />
79 </TableRow>
80 <TableRow>
81 <TextView android:text="@string/sdcard_settings_available_bytes_label" style="@style/info_label" />
82 <TextView android:id="@+id/available" style="@style/info_value" />
83 </TableRow>
84 </TableLayout>
85
86 </LinearLayout>
87
88 <LinearLayout style="@style/entry_layout"
89 android:id="@+id/scanning"
90 android:paddingTop="10dip">
91 <TextView android:text="@string/sdcard_settings_scanning_status" style="@style/info_label" />
92 </LinearLayout>
93
94 <LinearLayout style="@style/entry_layout"
95 android:id="@+id/removed"
96 android:paddingTop="10dip">
97 <TextView android:text="@string/sdcard_settings_not_present_status" style="@style/info_label" />
98 </LinearLayout>
99
100 <LinearLayout android:id="@+id/shared"
101 android:orientation="vertical"
102 android:layout_width="fill_parent"
103 android:layout_height="wrap_content"
104 android:paddingTop="10dip">
105
106 <LinearLayout style="@style/entry_layout" >
107 <TextView android:text="@string/sdcard_settings_mass_storage_status" style="@style/info_label" />
108 </LinearLayout>
109
110 </LinearLayout>
111
112 <LinearLayout style="@style/entry_layout"
113 android:id="@+id/unmounted"
114 android:paddingTop="10dip">
115 <TextView android:text="@string/sdcard_settings_unmounted_status" style="@style/info_label" />
116 </LinearLayout>
117
118 <LinearLayout style="@style/entry_layout"
119 android:id="@+id/bad_removal"
120 android:paddingTop="10dip">
121 <TextView android:text="@string/sdcard_settings_bad_removal_status" style="@style/info_label" />
122 </LinearLayout>
123
124 </LinearLayout>
125</ScrollView>
126