Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 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 | |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 17 | <TabHost xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:id="@android:id/tabhost" |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 20 | android:layout_height="match_parent"> |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 21 | |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 22 | <LinearLayout |
Jeff Sharkey | 2af35fb | 2011-06-24 17:30:27 -0700 | [diff] [blame] | 23 | android:id="@+id/tabs_container" |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 25 | android:layout_height="match_parent" |
Fabrice Di Meglio | 5c3fd1c | 2014-07-02 18:16:35 -0700 | [diff] [blame] | 26 | android:orientation="vertical" |
| 27 | android:background="@drawable/default_preference_background"> |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 28 | |
Jason Monk | 20f464e | 2015-05-06 16:00:25 -0400 | [diff] [blame] | 29 | <FrameLayout |
| 30 | android:id="@+id/pinned_header" |
| 31 | android:layout_width="match_parent" |
| 32 | android:layout_height="wrap_content" /> |
| 33 | |
Jeff Sharkey | b654cbb | 2011-08-18 11:59:19 -0700 | [diff] [blame] | 34 | <include layout="@layout/tab_widget" /> |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 35 | |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 36 | <!-- give an empty content area to make tabhost happy --> |
| 37 | <FrameLayout |
Amith Yamasani | 56f51a8 | 2013-08-05 10:07:23 -0700 | [diff] [blame] | 38 | style="@style/PreferenceFragmentListSinglePane" |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 39 | 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 Yamasani | 56f51a8 | 2013-08-05 10:07:23 -0700 | [diff] [blame] | 45 | style="@style/PreferenceFragmentListSinglePane" |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="0dip" |
Jeff Sharkey | 94a9095 | 2011-06-13 22:31:09 -0700 | [diff] [blame] | 48 | android:layout_weight="1" |
Jeff Sharkey | b654cbb | 2011-08-18 11:59:19 -0700 | [diff] [blame] | 49 | android:clipChildren="false" |
| 50 | android:clipToPadding="false" |
Jeff Sharkey | 94a9095 | 2011-06-13 22:31:09 -0700 | [diff] [blame] | 51 | android:smoothScrollbar="false" /> |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 52 | |
| 53 | </LinearLayout> |
| 54 | |
| 55 | </TabHost> |