OSDN Git Service

am 0d5ad3b7: am 57641a8b: am d7e93570: am f11f9f47: Added a check if a custom activit...
[android-x86/packages-apps-Settings.git] / res / layout / trusted_credentials.xml
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 <TabHost
17     xmlns:android="http://schemas.android.com/apk/res/android"
18     android:layout_width="match_parent"
19     android:layout_height="match_parent"
20     android:paddingStart="@dimen/settings_side_margin"
21     android:paddingEnd="@dimen/settings_side_margin">
22
23     <LinearLayout
24         android:orientation="vertical"
25         android:layout_width="fill_parent"
26         android:layout_height="fill_parent">
27
28         <TabWidget
29             android:id="@android:id/tabs"
30             android:layout_width="fill_parent"
31             android:layout_height="wrap_content" />
32
33         <FrameLayout
34             android:id="@android:id/tabcontent"
35             android:layout_width="fill_parent"
36             android:layout_height="fill_parent">
37
38             <FrameLayout
39                 android:id="@+id/system_tab"
40                 android:layout_width="fill_parent"
41                 android:layout_height="fill_parent">
42
43                 <ProgressBar
44                     android:id="@+id/system_progress"
45                     style="?android:attr/progressBarStyleHorizontal"
46                     android:layout_width="fill_parent"
47                     android:layout_height="wrap_content"
48                     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
49                     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
50                     android:visibility="gone" />
51
52                 <ListView
53                     android:id="@+id/system_list"
54                     android:layout_width="fill_parent"
55                     android:layout_height="fill_parent"
56                     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
57                     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
58                     android:scrollbarStyle="outsideOverlay"
59                     android:visibility="gone">
60                 </ListView>
61
62                 <ExpandableListView
63                     android:id="@+id/system_expandable_list"
64                     android:layout_width="fill_parent"
65                     android:layout_height="fill_parent"
66                     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
67                     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
68                     android:scrollbarStyle="outsideOverlay"
69                     android:visibility="gone">
70                 </ExpandableListView>
71
72             </FrameLayout>
73
74             <FrameLayout
75                 android:id="@+id/user_tab"
76                 android:layout_width="fill_parent"
77                 android:layout_height="fill_parent">
78
79                 <ProgressBar
80                     android:id="@+id/user_progress"
81                     style="?android:attr/progressBarStyleLarge"
82                     android:layout_width="wrap_content"
83                     android:layout_height="wrap_content"
84                     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
85                     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
86                     android:visibility="gone" />
87
88                 <ListView
89                     android:id="@+id/user_list"
90                     android:layout_width="fill_parent"
91                     android:layout_height="fill_parent"
92                     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
93                     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
94                     android:scrollbarStyle="outsideOverlay"
95                     android:visibility="gone">
96                 </ListView>
97
98                 <ExpandableListView
99                     android:id="@+id/user_expandable_list"
100                     android:layout_width="fill_parent"
101                     android:layout_height="fill_parent"
102                     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
103                     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
104                     android:scrollbarStyle="outsideOverlay"
105                     android:visibility="gone">
106                 </ExpandableListView>
107
108             </FrameLayout>
109
110         </FrameLayout>
111
112     </LinearLayout>
113
114 </TabHost>