2018-07-27 13:07:33 +00:00
|
|
|
<?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 15:35:22 +00:00
|
|
|
android:id="@android:id/icon"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginStart="@dimen/ate_preference_inset"
|
2019-02-19 10:38:51 +00:00
|
|
|
android:layout_marginLeft="@dimen/ate_preference_inset"
|
2020-02-05 04:40:47 +00:00
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:src="@drawable/icon_checkmark_white"
|
|
|
|
tools:tint="@color/md_black_1000" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
<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 10:38:51 +00:00
|
|
|
android:layout_marginLeft="@dimen/ate_preference_inset"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_marginTop="12dip"
|
2019-02-19 10:38:51 +00:00
|
|
|
android:layout_marginEnd="6dip"
|
|
|
|
android:layout_marginRight="6dip"
|
|
|
|
android:layout_marginBottom="12dip"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_weight="1">
|
|
|
|
|
2020-02-05 04:40:47 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@android:id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
2019-02-19 10:38:51 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:singleLine="true"
|
2020-02-05 04:40:47 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-02-05 04:40:47 +00:00
|
|
|
<code.name.monkey.retromusic.views.BaselineGridTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@android:id/summary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@android:id/title"
|
2019-02-19 10:38:51 +00:00
|
|
|
android:layout_alignStart="@android:id/title"
|
|
|
|
android:layout_alignLeft="@android:id/title"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:maxLines="4"
|
2020-02-05 04:40:47 +00:00
|
|
|
tools:text="@tools:sample/lorem/random" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<!-- Preference should place its actual preference widget here. -->
|
2020-02-05 04:40:47 +00:00
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESwitch
|
2019-02-19 10:38:51 +00:00
|
|
|
android:id="@+id/switchWidget"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
</LinearLayout><!-- From: file:/home/jitpack/build/commons/src/main/res/layout/md_preference_custom.xml -->
|