OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / packages / apps / Settings / res / layout / manage_applications.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 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 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18     android:layout_width="match_parent"
19     android:layout_height="match_parent" >
20
21     <LinearLayout android:id="@+id/list_container"
22             android:layout_width="match_parent"
23             android:layout_height="match_parent"
24             android:orientation="vertical"
25             android:visibility="gone">
26         <FrameLayout android:layout_width="match_parent"
27                 android:layout_height="0px"
28                 android:layout_weight="1">
29             <ListView android:id="@android:id/list"
30                 android:drawSelectorOnTop="false"
31                 android:layout_width="match_parent"
32                 android:layout_height="match_parent" />
33             <TextView android:id="@android:id/empty"
34                     android:layout_width="match_parent"
35                     android:layout_height="match_parent"
36                     android:gravity="center"
37                     android:text="@string/no_applications"
38                     android:textAppearance="?android:attr/textAppearanceLarge" />
39         </FrameLayout>
40         <view class="com.android.settings.applications.LinearColorBar"
41                 android:id="@+id/storage_color_bar"
42                 android:layout_width="match_parent"
43                 android:layout_height="wrap_content"
44                 android:layout_marginTop="-5dp"
45                 android:orientation="horizontal"
46                 android:clipChildren="false"
47                 android:clipToPadding="false"
48                 android:paddingTop="30dp"
49                 android:paddingLeft="4dp"
50                 android:paddingRight="4dp"
51                 android:paddingBottom="1dp">
52             <TextView android:id="@+id/usedStorageText"
53                 android:layout_width="0px"
54                 android:layout_height="wrap_content"
55                 android:layout_weight="1"
56                 android:textAppearance="?android:attr/textAppearanceSmallInverse"
57                 android:textColor="#000"
58                 android:singleLine="true" />
59             <TextView android:id="@+id/storageChartLabel"
60                 android:layout_width="wrap_content"
61                 android:layout_height="wrap_content"
62                 android:layout_weight="0"
63                 android:layout_marginTop="-20dp"
64                 android:textAppearance="?android:attr/textAppearanceSmallInverse"
65                 android:textColor="#ccc"
66                 android:shadowColor="#000"
67                 android:shadowRadius="5"
68                 android:textStyle="bold"
69                 android:singleLine="true"
70                 android:text="@string/internal_storage" />
71             <TextView android:id="@+id/freeStorageText"
72                 android:layout_gravity="center_vertical|right"
73                 android:layout_width="0px"
74                 android:layout_height="wrap_content"
75                 android:layout_weight="1"
76                 android:gravity="right"
77                 android:textAppearance="?android:attr/textAppearanceSmallInverse"
78                 android:textColor="#000"
79                 android:singleLine="true" />
80         </view>
81     </LinearLayout>
82
83     <view class="com.android.settings.applications.RunningProcessesView"
84             android:id="@+id/running_processes"
85             android:layout_width="match_parent"
86             android:layout_height="match_parent"
87             android:visibility="gone" />
88
89     <LinearLayout android:id="@+id/loading_container"
90             android:orientation="vertical"
91             android:layout_width="match_parent"
92             android:layout_height="match_parent"
93             android:visibility="gone"
94             android:gravity="center">
95
96         <ProgressBar style="?android:attr/progressBarStyleLarge"
97                 android:layout_width="wrap_content"
98                 android:layout_height="wrap_content" />
99         <TextView android:layout_width="wrap_content"
100                 android:layout_height="wrap_content"
101                 android:textAppearance="?android:attr/textAppearanceSmall"
102                 android:text="@string/settings_safetylegal_activity_loading"
103                 android:paddingTop="4dip"
104                 android:singleLine="true" />
105
106     </LinearLayout>
107
108 </FrameLayout>