Files
vtosters/smali/res/layout/sticker_settings_switch_item.xml
T
2022-06-19 13:11:07 +03:00

41 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/highlight"
android:paddingLeft="@dimen/post_side_padding"
android:paddingTop="14.0dip"
android:paddingRight="13.0dip"
android:paddingBottom="17.0dip">
<TextView
android:id="@id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_toLeftOf="@id/checkbox"
android:text="@string/sticker_settings_autosuggest_title"
android:textColor="?text_muted"
android:textSize="16.0dip" />
<TextView
android:id="@id/subtitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_alignParentLeft="true"
android:layout_marginTop="1.0dip"
android:layout_toLeftOf="@id/checkbox"
android:lineSpacingExtra="3.0dip"
android:text="@string/sticker_settings_autosuggest_subtitle"
android:textColor="?text_secondary"
android:textSize="14.0dip" />
<androidx.appcompat.widget.SwitchCompat
android:id="@id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true" />
</RelativeLayout>