diff options
author | John Reck <jreck@google.com> | 2011-03-23 10:56:31 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-03-23 10:59:47 -0700 |
commit | 99ab48a8a23f0d017445ed5055ed14b9588a4856 (patch) | |
tree | 1de9e0ab1b48749b5be7b88aaa6101ae165ba7d6 /res/layout | |
parent | 71791a09579b21ef61f00c38056497cd99667440 (diff) | |
download | packages_apps_Browser-99ab48a8a23f0d017445ed5055ed14b9588a4856.zip packages_apps_Browser-99ab48a8a23f0d017445ed5055ed14b9588a4856.tar.gz packages_apps_Browser-99ab48a8a23f0d017445ed5055ed14b9588a4856.tar.bz2 |
Fix history crash on xlarge
Bug: 4153292
Change-Id: Ia1f397e0f37e3b0d4428e22a4d810c1ce214a833
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/preference_list_content.xml | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/res/layout/preference_list_content.xml b/res/layout/preference_list_content.xml new file mode 100644 index 0000000..ad3d64e --- /dev/null +++ b/res/layout/preference_list_content.xml @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2011 The Android Open Source Project Licensed under the + Apache License, Version 2.0 (the "License"); you may not use this file + except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by + applicable law or agreed to in writing, software distributed under the + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. See the License for + the specific language governing permissions and limitations under the + License. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_height="match_parent" + android:layout_width="match_parent"> + + <LinearLayout + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="0px" + android:layout_weight="1"> + + <LinearLayout + android:id="@+id/headers" + android:orientation="vertical" + android:layout_width="0px" + android:layout_height="match_parent" + android:layout_marginRight="@dimen/preference_screen_side_margin_negative" + android:layout_marginLeft="@dimen/preference_screen_side_margin" + android:layout_marginTop="32dp" + android:layout_marginBottom="32dp" + android:layout_weight="10"> + + <ListView android:id="@android:id/list" + android:layout_width="match_parent" + android:layout_height="0px" + android:layout_weight="1" + android:drawSelectorOnTop="false" + android:cacheColorHint="@android:color/transparent" + android:listPreferredItemHeight="48dp" + android:scrollbarAlwaysDrawVerticalTrack="true" /> + + <FrameLayout android:id="@+id/list_footer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="0" /> + + </LinearLayout> + + <LinearLayout + android:id="@+id/prefs_frame" + android:layout_width="0px" + android:layout_height="match_parent" + android:layout_weight="20" + android:layout_marginLeft="@dimen/preference_screen_side_margin" + android:layout_marginRight="@dimen/preference_screen_side_margin" + android:layout_marginTop="16dp" + android:layout_marginBottom="16dp" + android:background="?android:attr/detailsElementBackground" + android:orientation="vertical" + android:visibility="gone" > + + <!-- Breadcrumb inserted here --> + <android.app.FragmentBreadCrumbs + android:id="@android:id/title" + android:layout_height="72dip" + android:layout_width="match_parent" + android:paddingTop="16dip" + android:paddingBottom="8dip" + android:gravity="center_vertical|left" + android:layout_marginLeft="48dip" + android:layout_marginRight="48dip" + /> + + <ImageView + android:layout_width="match_parent" + android:layout_height="1dip" + android:paddingLeft="32dip" + android:paddingRight="32dip" + android:src="#404040" + /> + <android.preference.PreferenceFrameLayout android:id="@+id/prefs" + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:layout_marginTop="-1dip" + /> + </LinearLayout> + </LinearLayout> +</LinearLayout> |