make sure Settings items are displayed properly even on smaller devices

This commit is contained in:
tibbi 2017-01-22 10:36:36 +01:00
parent 451e10e1df
commit e72f6bae2a
1 changed files with 16 additions and 8 deletions

View File

@ -62,11 +62,13 @@
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_start_weekly_at_label"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/settings_start_weekly_at"
android:layout_toStartOf="@+id/settings_start_weekly_at"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:paddingRight="@dimen/medium_margin"
android:text="@string/start_weekly_at"/>
<com.simplemobiletools.commons.views.MyAppCompatSpinner
@ -90,11 +92,13 @@
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_end_weekly_at_label"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/settings_end_weekly_at"
android:layout_toStartOf="@+id/settings_end_weekly_at"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:paddingRight="@dimen/medium_margin"
android:text="@string/end_weekly_at"/>
<com.simplemobiletools.commons.views.MyAppCompatSpinner
@ -159,11 +163,13 @@
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_reminder_sound_label"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/settings_reminder_sound"
android:layout_toStartOf="@+id/settings_reminder_sound"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:paddingRight="@dimen/medium_margin"
android:text="@string/reminder_sound"/>
<com.simplemobiletools.commons.views.MyTextView
@ -191,11 +197,13 @@
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_default_reminder_label"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/settings_default_reminder"
android:layout_toStartOf="@+id/settings_default_reminder"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:paddingRight="@dimen/medium_margin"
android:text="@string/default_event_reminder"/>
<com.simplemobiletools.commons.views.MyAppCompatSpinner