2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingEnd="?android:attr/scrollbarSize"
|
|
|
|
android:paddingRight="?android:attr/scrollbarSize"
|
|
|
|
tools:ignore="RtlSymmetry,UnusedAttribute">
|
|
|
|
|
|
|
|
<ImageView
|
2018-12-05 21:05:22 +05:30
|
|
|
android:id="@android:id/icon"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginStart="@dimen/ate_preference_inset"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:layout_marginLeft="@dimen/ate_preference_inset"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="start|center_vertical"
|
|
|
|
android:layout_marginStart="@dimen/ate_preference_inset"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:layout_marginLeft="@dimen/ate_preference_inset"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_marginTop="12dip"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:layout_marginEnd="6dip"
|
|
|
|
android:layout_marginRight="6dip"
|
|
|
|
android:layout_marginBottom="12dip"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
|
|
|
android:id="@android:id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:layout_alignParentLeft="true"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:singleLine="true"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:text="Title" />
|
|
|
|
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
|
|
android:id="@android:id/summary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@android:id/title"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:layout_alignStart="@android:id/title"
|
|
|
|
android:layout_alignLeft="@android:id/title"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:maxLines="4"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:text="Summary" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<!-- Preference should place its actual preference widget here. -->
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESwitch xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-02-19 16:08:51 +05:30
|
|
|
android:id="@+id/switchWidget"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:button="@drawable/ate_switch"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
</LinearLayout><!-- From: file:/home/jitpack/build/commons/src/main/res/layout/md_preference_custom.xml -->
|