preference_no_widget.xml (1389B)
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 xmlns:android="http://schemas.android.com/apk/res/android" 6 xmlns:tools="http://schemas.android.com/tools" 7 android:layout_width="match_parent" 8 android:layout_height="wrap_content" 9 android:orientation="horizontal" 10 android:minHeight="48dp" 11 tools:ignore="UseCompoundDrawables"> 12 13 <ImageView 14 android:id="@android:id/icon" 15 android:layout_width="24dp" 16 android:layout_height="24dp" 17 android:layout_gravity="center" 18 android:layout_marginStart="16dp" 19 android:contentDescription="@string/preference_etp_exceptions_icon_description" 20 tools:srcCompat="@drawable/ic_internet" /> 21 22 <TextView 23 android:id="@android:id/title" 24 android:layout_width="wrap_content" 25 android:layout_height="wrap_content" 26 android:layout_marginStart="40dp" 27 android:layout_gravity="center" 28 android:gravity="center_vertical" 29 android:letterSpacing="0.01" 30 android:lineSpacingExtra="5sp" 31 android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1" 32 tools:text="Exceptions" /> 33 </LinearLayout>