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
21    <LinearLayout
22        android:orientation="vertical"
23        android:layout_width="fill_parent"
24        android:layout_height="fill_parent">
25
26        <TabWidget
27            android:id="@android:id/tabs"
28            android:layout_width="fill_parent"
29            android:layout_height="wrap_content" />
30
31        <FrameLayout
32            android:id="@android:id/tabcontent"
33            android:layout_width="fill_parent"
34            android:layout_height="fill_parent">
35
36            <FrameLayout
37                android:id="@+id/system_tab"
38                android:layout_width="fill_parent"
39                android:layout_height="fill_parent">
40
41                <ProgressBar
42                    android:id="@+id/system_progress"
43                    style="?android:attr/progressBarStyleHorizontal"
44                    android:layout_width="fill_parent"
45                    android:layout_height="wrap_content"
46                    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
47                    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
48                    android:visibility="gone" />
49
50                <LinearLayout
51                    android:id="@+id/system_content"
52                    android:orientation="vertical"
53                    android:layout_width="match_parent"
54                    android:layout_height="match_parent"
55                    android:visibility="gone"
56                    android:animateLayoutChanges="true">
57                </LinearLayout>
58
59            </FrameLayout>
60
61            <FrameLayout
62                android:id="@+id/user_tab"
63                android:layout_width="fill_parent"
64                android:layout_height="fill_parent">
65
66                <ProgressBar
67                    android:id="@+id/user_progress"
68                    style="?android:attr/progressBarStyleLarge"
69                    android:layout_width="wrap_content"
70                    android:layout_height="wrap_content"
71                    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
72                    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
73                    android:visibility="gone" />
74
75                <LinearLayout
76                    android:id="@+id/user_content"
77                    android:orientation="vertical"
78                    android:layout_width="match_parent"
79                    android:layout_height="match_parent"
80                    android:visibility="gone"
81                    android:animateLayoutChanges="true">
82                </LinearLayout>
83
84            </FrameLayout>
85
86        </FrameLayout>
87
88    </LinearLayout>
89
90</TabHost>
91