preference_list_content.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2011 The Android Open Source Project Licensed under the
  4. Apache License, Version 2.0 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of the
  6. License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
  7. applicable law or agreed to in writing, software distributed under the
  8. License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  9. CONDITIONS OF ANY KIND, either express or implied. See the License for
  10. the specific language governing permissions and limitations under the
  11. License.
  12. -->
  13. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  14. android:orientation="vertical"
  15. android:layout_height="match_parent"
  16. android:layout_width="match_parent">
  17. <LinearLayout
  18. android:orientation="horizontal"
  19. android:layout_width="match_parent"
  20. android:layout_height="0px"
  21. android:layout_weight="1">
  22. <LinearLayout
  23. android:id="@+id/headers"
  24. android:orientation="vertical"
  25. android:layout_width="0px"
  26. android:layout_height="match_parent"
  27. android:layout_marginRight="@dimen/preference_screen_side_margin_negative"
  28. android:layout_marginLeft="@dimen/preference_screen_side_margin"
  29. android:layout_marginTop="32dp"
  30. android:layout_marginBottom="32dp"
  31. android:layout_weight="10">
  32. <ListView android:id="@android:id/list"
  33. android:layout_width="match_parent"
  34. android:layout_height="0px"
  35. android:layout_weight="1"
  36. android:drawSelectorOnTop="false"
  37. android:cacheColorHint="@android:color/transparent"
  38. android:listPreferredItemHeight="48dp"
  39. android:scrollbarAlwaysDrawVerticalTrack="true" />
  40. <FrameLayout android:id="@+id/list_footer"
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content"
  43. android:layout_weight="0" />
  44. </LinearLayout>
  45. <LinearLayout
  46. android:id="@+id/prefs_frame"
  47. android:layout_width="0px"
  48. android:layout_height="match_parent"
  49. android:layout_weight="20"
  50. android:layout_marginLeft="@dimen/preference_screen_side_margin"
  51. android:layout_marginRight="@dimen/preference_screen_side_margin"
  52. android:layout_marginTop="16dp"
  53. android:layout_marginBottom="16dp"
  54. android:background="?android:attr/detailsElementBackground"
  55. android:orientation="vertical"
  56. android:visibility="gone" >
  57. <!-- Breadcrumb inserted here -->
  58. <android.app.FragmentBreadCrumbs
  59. android:id="@android:id/title"
  60. android:layout_height="72dip"
  61. android:layout_width="match_parent"
  62. android:paddingTop="16dip"
  63. android:paddingBottom="8dip"
  64. android:gravity="center_vertical|left"
  65. android:layout_marginLeft="48dip"
  66. android:layout_marginRight="48dip"
  67. />
  68. <ImageView
  69. android:layout_width="match_parent"
  70. android:layout_height="1dip"
  71. android:paddingLeft="32dip"
  72. android:paddingRight="32dip"
  73. android:src="#404040"
  74. />
  75. <android.preference.PreferenceFrameLayout android:id="@+id/prefs"
  76. android:layout_width="match_parent"
  77. android:layout_height="0dip"
  78. android:layout_weight="1"
  79. android:layout_marginTop="-1dip"
  80. />
  81. </LinearLayout>
  82. </LinearLayout>
  83. </LinearLayout>