• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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                <LinearLayout
53                    android:id="@+id/system_content"
54                    android:orientation="vertical"
55                    android:layout_width="match_parent"
56                    android:layout_height="match_parent"
57                    android:visibility="gone">
58
59                    <include
60                        android:id="@+id/system_personal_container"
61                        layout="@layout/trusted_credential_list_container"/>
62                    <include
63                        android:id="@+id/system_work_container"
64                        layout="@layout/trusted_credential_list_container"/>
65
66                    <ExpandableListView
67                        android:id="@+id/system_expandable_list"
68                        style="@style/TrustedCredentialsList"
69                        android:visibility="gone">
70                    </ExpandableListView>
71                </LinearLayout>
72
73            </FrameLayout>
74
75            <FrameLayout
76                android:id="@+id/user_tab"
77                android:layout_width="fill_parent"
78                android:layout_height="fill_parent">
79
80                <ProgressBar
81                    android:id="@+id/user_progress"
82                    style="?android:attr/progressBarStyleLarge"
83                    android:layout_width="wrap_content"
84                    android:layout_height="wrap_content"
85                    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
86                    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
87                    android:visibility="gone" />
88
89                <LinearLayout
90                    android:id="@+id/user_content"
91                    android:orientation="vertical"
92                    android:layout_width="match_parent"
93                    android:layout_height="match_parent"
94                    android:visibility="gone">
95
96                    <include
97                        android:id="@+id/user_personal_container"
98                        layout="@layout/trusted_credential_list_container"/>
99
100                    <include
101                        android:id="@+id/user_work_container"
102                        layout="@layout/trusted_credential_list_container"/>
103
104                    <ExpandableListView
105                        android:id="@+id/user_expandable_list"
106                        style="@style/TrustedCredentialsList"
107                        android:visibility="gone">
108                    </ExpandableListView>
109                </LinearLayout>
110
111            </FrameLayout>
112
113        </FrameLayout>
114
115    </LinearLayout>
116
117</TabHost>
118