2020-06-07 02:36:04 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="8dp"
|
2021-06-20 03:45:16 +08:00
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2020-06-07 02:36:04 +08:00
|
|
|
android:contentDescription="@string/label_settings"
|
|
|
|
android:padding="8dp"
|
|
|
|
app:srcCompat="@drawable/ic_settings_24dp"
|
|
|
|
app:tint="?attr/colorOnBackground" />
|
|
|
|
|
|
|
|
<!-- Matches ID used in SwitchPreferenceCompat -->
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/switchWidget"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</LinearLayout>
|