blob: 88750040e96eb092c03cffe4b7b704a388c13e0d [file] [log] [blame]
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -07001<?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
Jeff Sharkey8a503642011-06-10 13:31:21 -070017<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@android:id/tabhost"
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070019 android:layout_width="match_parent"
Jeff Sharkey8a503642011-06-10 13:31:21 -070020 android:layout_height="match_parent">
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070021
Jeff Sharkey8a503642011-06-10 13:31:21 -070022 <LinearLayout
Jeff Sharkey2af35fb2011-06-24 17:30:27 -070023 android:id="@+id/tabs_container"
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070024 android:layout_width="match_parent"
Jeff Sharkey8a503642011-06-10 13:31:21 -070025 android:layout_height="match_parent"
Fabrice Di Meglio5c3fd1c2014-07-02 18:16:35 -070026 android:orientation="vertical"
27 android:background="@drawable/default_preference_background">
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070028
Jason Monk20f464e2015-05-06 16:00:25 -040029 <FrameLayout
30 android:id="@+id/pinned_header"
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content" />
33
Jeff Sharkeyb654cbb2011-08-18 11:59:19 -070034 <include layout="@layout/tab_widget" />
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070035
Jeff Sharkey8a503642011-06-10 13:31:21 -070036 <!-- give an empty content area to make tabhost happy -->
37 <FrameLayout
Amith Yamasani56f51a82013-08-05 10:07:23 -070038 style="@style/PreferenceFragmentListSinglePane"
Jeff Sharkey8a503642011-06-10 13:31:21 -070039 android:id="@android:id/tabcontent"
40 android:layout_width="0dip"
41 android:layout_height="0dip" />
42
43 <ListView
44 android:id="@android:id/list"
Amith Yamasani56f51a82013-08-05 10:07:23 -070045 style="@style/PreferenceFragmentListSinglePane"
Jeff Sharkey8a503642011-06-10 13:31:21 -070046 android:layout_width="match_parent"
47 android:layout_height="0dip"
Jeff Sharkey94a90952011-06-13 22:31:09 -070048 android:layout_weight="1"
Jeff Sharkeyb654cbb2011-08-18 11:59:19 -070049 android:clipChildren="false"
50 android:clipToPadding="false"
Jeff Sharkey94a90952011-06-13 22:31:09 -070051 android:smoothScrollbar="false" />
Jeff Sharkey8a503642011-06-10 13:31:21 -070052
53 </LinearLayout>
54
55</TabHost>