-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
79 lines
3.2 KiB
XML
79 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:gravity="center_vertical"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:listPreferredItemHeight"
|
|
android:paddingEnd="?android:scrollbarSize"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<ImageView
|
|
android:layout_gravity="center"
|
|
android:id="@android:id/icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minWidth="@dimen/preference_icon_minWidth" />
|
|
|
|
<RelativeLayout
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6.0dip"
|
|
android:layout_marginBottom="6.0dip"
|
|
android:layout_weight="1.0"
|
|
android:layout_marginStart="16.0dip"
|
|
android:layout_marginEnd="8.0dip">
|
|
|
|
<TextView
|
|
android:textAppearance="?android:textAppearanceMedium"
|
|
android:ellipsize="marquee"
|
|
android:id="@android:id/title"
|
|
android:fadingEdge="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:id="@android:id/summary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="4"
|
|
android:layout_below="@android:id/title"
|
|
android:layout_alignStart="@android:id/title" />
|
|
|
|
<android.support.v7.preference.UnPressableLinearLayout
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@android:id/summary"
|
|
android:layout_alignStart="@android:id/title">
|
|
|
|
<SeekBar
|
|
android:id="@id/seekbar"
|
|
android:background="@null"
|
|
android:focusable="false"
|
|
android:clickable="false"
|
|
android:layout_width="0.0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.0"
|
|
android:paddingStart="@dimen/preference_seekbar_padding_start"
|
|
android:paddingEnd="@dimen/preference_seekbar_padding_end" />
|
|
|
|
<TextView
|
|
android:textAppearance="?android:textAppearanceMedium"
|
|
android:ellipsize="marquee"
|
|
android:gravity="center|right"
|
|
android:id="@id/seekbar_value"
|
|
android:fadingEdge="horizontal"
|
|
android:layout_width="@dimen/preference_seekbar_value_width"
|
|
android:layout_height="fill_parent"
|
|
android:singleLine="true"
|
|
android:fontFamily="sans-serif-condensed" />
|
|
</android.support.v7.preference.UnPressableLinearLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout> |