Files
android_packages_apps_Updater/res/layout/preferences_dialog.xml
T
Gabriele M 6aa0a04fbb Replace some paddings with margings in the preferences
This ensures that each Switch is always fully visible independently
of the size of system font.

Change-Id: I1e56a9537dbbb124d86ea0da76d48b7b53172e47
2018-04-12 00:19:41 +02:00

34 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingEnd="24dp"
android:paddingStart="24dp"
android:paddingTop="16dp">
<Switch
android:id="@+id/preferences_auto_updates_check"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="@string/menu_auto_updates_check"
android:textSize="16sp" />
<Switch
android:id="@+id/preferences_auto_delete_updates"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="@string/menu_auto_delete_updates"
android:textSize="16sp" />
<Switch
android:id="@+id/preferences_mobile_data_warning"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="@string/menu_mobile_data_warning"
android:textSize="16sp" />
</LinearLayout>