cookies_preference.xml (2173B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <LinearLayout 6 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:app="http://schemas.android.com/apk/res-auto" 8 android:layout_width="match_parent" 9 android:layout_height="wrap_content" 10 android:baselineAligned="false" 11 android:gravity="center_vertical" 12 android:minHeight="?android:attr/listPreferredItemHeightSmall" 13 android:paddingStart="?android:attr/listPreferredItemPaddingStart" 14 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> 15 16 <RelativeLayout 17 android:layout_width="0dp" 18 android:layout_height="wrap_content" 19 android:layout_weight="1" 20 android:paddingTop="16dip" 21 android:paddingBottom="16dip"> 22 23 <TextView 24 android:id="@android:id/title" 25 style="@style/Preference.Title" 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" /> 28 29 <TextView 30 android:id="@android:id/summary" 31 style="@style/Preference.Summary" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:layout_below="@android:id/title" 35 android:layout_alignStart="@android:id/title" 36 android:maxLines="10" /> 37 38 </RelativeLayout> 39 40 <!-- Preference should place its actual preference widget here. --> 41 <LinearLayout 42 android:id="@android:id/widget_frame" 43 android:layout_width="wrap_content" 44 android:layout_height="match_parent" 45 android:gravity="end|center_vertical" 46 android:minWidth="58dip" 47 android:orientation="vertical"> 48 49 <ImageView 50 android:id="@+id/icon" 51 app:srcCompat="@drawable/mozac_ic_chevron_right_24" 52 android:layout_width="24dp" 53 android:layout_height="24dp" 54 android:importantForAccessibility="no" /> 55 </LinearLayout> 56 </LinearLayout>