add some subsections in Settings by view type

This commit is contained in:
tibbi 2017-05-23 22:33:03 +02:00
parent c6ca96437c
commit 791d9fe66b
16 changed files with 158 additions and 123 deletions

View File

@ -130,96 +130,6 @@
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_week_numbers_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MySwitchCompat
android:id="@+id/settings_week_numbers"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/week_numbers"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_start_weekly_at_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:paddingBottom="@dimen/bigger_margin"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingTop="@dimen/bigger_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_start_weekly_at_label"
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:paddingRight="@dimen/medium_margin"
android:text="@string/start_weekly_at"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_start_weekly_at"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginEnd="@dimen/small_margin"
android:layout_marginRight="@dimen/small_margin"
android:background="@null"
android:clickable="false"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_end_weekly_at_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:paddingBottom="@dimen/bigger_margin"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingTop="@dimen/bigger_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_end_weekly_at_label"
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:paddingRight="@dimen/medium_margin"
android:text="@string/end_weekly_at"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_end_weekly_at"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginEnd="@dimen/small_margin"
android:layout_marginRight="@dimen/small_margin"
android:background="@null"
android:clickable="false"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_reminder_sound_holder"
android:layout_width="match_parent"
@ -324,5 +234,130 @@
android:clickable="false"/>
</RelativeLayout>
<ImageView
android:id="@+id/weekly_view_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/divider_strong"/>
<com.simplemobiletools.commons.views.MyTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/big_margin"
android:layout_marginStart="@dimen/big_margin"
android:layout_marginTop="@dimen/activity_margin"
android:alpha="0.6"
android:text="@string/weekly_view"
android:textAllCaps="true"
android:textColor="@color/divider_strong"
android:textSize="@dimen/small_text_size"/>
<RelativeLayout
android:id="@+id/settings_start_weekly_at_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:paddingBottom="@dimen/bigger_margin"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingTop="@dimen/bigger_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_start_weekly_at_label"
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:paddingRight="@dimen/medium_margin"
android:text="@string/start_day_at"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_start_weekly_at"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginEnd="@dimen/small_margin"
android:layout_marginRight="@dimen/small_margin"
android:background="@null"
android:clickable="false"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_end_weekly_at_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:paddingBottom="@dimen/bigger_margin"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingTop="@dimen/bigger_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_end_weekly_at_label"
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:paddingRight="@dimen/medium_margin"
android:text="@string/end_day_at"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_end_weekly_at"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginEnd="@dimen/small_margin"
android:layout_marginRight="@dimen/small_margin"
android:background="@null"
android:clickable="false"/>
</RelativeLayout>
<ImageView
android:id="@+id/monthly_view_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/divider_strong"/>
<com.simplemobiletools.commons.views.MyTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/big_margin"
android:layout_marginStart="@dimen/big_margin"
android:layout_marginTop="@dimen/activity_margin"
android:alpha="0.6"
android:text="@string/monthly_view"
android:textAllCaps="true"
android:textColor="@color/divider_strong"
android:textSize="@dimen/small_text_size"/>
<RelativeLayout
android:id="@+id/settings_week_numbers_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MySwitchCompat
android:id="@+id/settings_week_numbers"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/week_numbers"/>
</RelativeLayout>
</LinearLayout>
</ScrollView>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Verwalte Termin-Typen</string>
<string name="use_24_hour_format">Verwende 24 h Format</string>
<string name="sunday_first">Sonntag als erster Wochentag</string>
<string name="start_weekly_at">Wochenansicht beginnt am</string>
<string name="end_weekly_at">Wochenansicht endet am</string>
<string name="start_day_at">Wochenansicht beginnt am</string>
<string name="end_day_at">Wochenansicht endet am</string>
<string name="week_numbers">Zeige Kalenderwoche an</string>
<string name="vibrate">Vibration bei Errinerung</string>
<string name="reminder_sound">Erinnerungston</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Gestionar tipos de eventos</string>
<string name="use_24_hour_format">Usar formato de 24 horas</string>
<string name="sunday_first">Domingo como primer día de la semana</string>
<string name="start_weekly_at">El día en la vista semanal comienza a las</string>
<string name="end_weekly_at">El día en la vista semanal finaliza a las</string>
<string name="start_day_at">El día en la vista semanal comienza a las</string>
<string name="end_day_at">El día en la vista semanal finaliza a las</string>
<string name="week_numbers">Mostrar los números de la semana</string>
<string name="vibrate">Vibración en notificación de recordatorio</string>
<string name="reminder_sound">Sonido de recordatorio</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Gestion des types d\'evénements</string>
<string name="use_24_hour_format">Utiliser le format 24 heures</string>
<string name="sunday_first">Dimanche en premier jour</string>
<string name="start_weekly_at">Jour de début de la vue hebdomadaire</string>
<string name="end_weekly_at">Jour de fin de la vue hebdomadaire</string>
<string name="start_day_at">Jour de début de la vue hebdomadaire</string>
<string name="end_day_at">Jour de fin de la vue hebdomadaire</string>
<string name="week_numbers">Afficher les numéros de semaine</string>
<string name="vibrate">Vibrer à la notification de rappel</string>
<string name="reminder_sound">Son de rappel</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Manage event types</string>
<string name="use_24_hour_format">Use 24-hour format</string>
<string name="sunday_first">रविवार पहला दिन हैं</string>
<string name="start_weekly_at">Start weekly view day at</string>
<string name="end_weekly_at">End weekly view day at</string>
<string name="start_day_at">Start day at</string>
<string name="end_day_at">End day at</string>
<string name="week_numbers">सफ्ताह क्रमांक दिखाए</string>
<string name="vibrate">Vibrate on reminder notification</string>
<string name="reminder_sound">Reminder sound</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Manage event types</string>
<string name="use_24_hour_format">Use 24-hour format</string>
<string name="sunday_first">Vasárnap a hét első napja</string>
<string name="start_weekly_at">Start weekly view day at</string>
<string name="end_weekly_at">End weekly view day at</string>
<string name="start_day_at">Start day at</string>
<string name="end_day_at">End day at</string>
<string name="week_numbers">Hetek sorszámának mutatása</string>
<string name="vibrate">Emlékeztetőnél rezgés</string>
<string name="reminder_sound">Reminder sound</string>

View File

@ -174,9 +174,9 @@
<string name="manage_event_types">Manage event types</string>
<string name="use_24_hour_format">Use 24-hour format</string>
<string name="sunday_first">Sunday as first day</string>
<string name="start_weekly_at">Start weekly view day at</string>
<string name="end_weekly_at">End weekly view day at</string>
<string name="week_numbers">Show week numbers in monthy view</string>
<string name="start_day_at">Start day at</string>
<string name="end_day_at">End day at</string>
<string name="week_numbers">Show week numbers</string>
<string name="vibrate">Vibrate on reminder notification</string>
<string name="reminder_sound">Reminder sound</string>
<string name="default_event_reminder">Default event reminder</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Manage event types</string>
<string name="use_24_hour_format">Use 24-hour format</string>
<string name="sunday_first">יום א\' בתור היום הראשון בשבוע</string>
<string name="start_weekly_at">התחלת תצפית שבועית בשעה</string>
<string name="end_weekly_at">התחלת תצפית שבועית בשעה</string>
<string name="start_day_at">התחלת תצפית שבועית בשעה</string>
<string name="end_day_at">התחלת תצפית שבועית בשעה</string>
<string name="week_numbers">הצגת מספרי השבועות בתצפית חודשית</string>
<string name="vibrate">רטט בהתראת תזכורת</string>
<string name="reminder_sound">צליל תזכורת</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Manage event types</string>
<string name="use_24_hour_format">Use 24-hour format</string>
<string name="sunday_first">日曜日が最初</string>
<string name="start_weekly_at">Start weekly view day at</string>
<string name="end_weekly_at">End weekly view day at</string>
<string name="start_day_at">Start day at</string>
<string name="end_day_at">End day at</string>
<string name="week_numbers">週番号を表示</string>
<string name="vibrate">リマインダー通知で振動</string>
<string name="reminder_sound">Reminder sound</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Gerenciar tipos de eventos</string>
<string name="use_24_hour_format">Usar formato 24 horas</string>
<string name="sunday_first">Domingo como primeiro dia</string>
<string name="start_weekly_at">Iniciar vista semanal em</string>
<string name="end_weekly_at">Terminar vista semanal em</string>
<string name="start_day_at">Iniciar vista semanal em</string>
<string name="end_day_at">Terminar vista semanal em</string>
<string name="week_numbers">Mostrar número das semanas</string>
<string name="vibrate">Vibrar ao notificar sobre o lembrete</string>
<string name="reminder_sound">Som do lembrete</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Gerir tipos de eventos</string>
<string name="use_24_hour_format">Usar formato 24 horas</string>
<string name="sunday_first">Domingo como primeiro dia</string>
<string name="start_weekly_at">Iniciar vista semanal em</string>
<string name="end_weekly_at">Terminar vista semanal em</string>
<string name="start_day_at">Iniciar vista semanal em</string>
<string name="end_day_at">Terminar vista semanal em</string>
<string name="week_numbers">Mostrar número das semanas</string>
<string name="vibrate">Vibrar ao notificar sobre o lembrete</string>
<string name="reminder_sound">Som do lembrete</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Управление типами событий</string>
<string name="use_24_hour_format">Использовать 24-х часовой формат</string>
<string name="sunday_first">Воскресенье - начало недели</string>
<string name="start_weekly_at">Начало дня (неделя)</string>
<string name="end_weekly_at">Окончание дня (неделя)</string>
<string name="start_day_at">Начало дня (неделя)</string>
<string name="end_day_at">Окончание дня (неделя)</string>
<string name="week_numbers">Отображать номера недель</string>
<string name="vibrate">Вибрация при напоминании</string>
<string name="reminder_sound">Звук напоминания</string>

View File

@ -181,9 +181,9 @@
<string name="manage_event_types">Spravovať typy udalostí</string>
<string name="use_24_hour_format">Použiť 24 hodinový formát</string>
<string name="sunday_first">Začať týždeň nedeľou</string>
<string name="start_weekly_at">Začať týždenný pohľad o</string>
<string name="end_weekly_at">Ukončiť týždenný pohľad o</string>
<string name="week_numbers">Zobraziť čísla týždňov v mesačnom pohľade</string>
<string name="start_day_at">Začať deň o</string>
<string name="end_day_at">Ukončiť deň o</string>
<string name="week_numbers">Zobraziť čísla týždňov</string>
<string name="vibrate">Vibrovať pri pripomienke</string>
<string name="reminder_sound">Zvučka pripomienky</string>
<string name="default_event_reminder">Predvolená hodnota pripomienky</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Manage event types</string>
<string name="use_24_hour_format">Use 24-hour format</string>
<string name="sunday_first">Söndag är första dagen</string>
<string name="start_weekly_at">Starta veckovydagen vid</string>
<string name="end_weekly_at">Sluta veckovydagen vid</string>
<string name="start_day_at">Starta veckovydagen vid</string>
<string name="end_day_at">Sluta veckovydagen vid</string>
<string name="week_numbers">Visa veckonumret i månadsvyn</string>
<string name="vibrate">Vibrera vid påminnelseaviseringen</string>
<string name="reminder_sound">Påminnelseljud</string>

View File

@ -174,8 +174,8 @@
<string name="manage_event_types">Olay türlerini yönet</string>
<string name="use_24_hour_format">24 saat formatını kullan</string>
<string name="sunday_first">Pazar günü ilk gün olarak</string>
<string name="start_weekly_at">Haftalık görüntüleme gününü şu saatte başlatın</string>
<string name="end_weekly_at">Haftalık görüntüleme gününü bitiştir</string>
<string name="start_day_at">Haftalık görüntüleme gününü şu saatte başlatın</string>
<string name="end_day_at">Haftalık görüntüleme gününü bitiştir</string>
<string name="week_numbers">Aylık görünümde hafta sayılarını göster</string>
<string name="vibrate">Hatırlatma bildiriminde titreşim</string>
<string name="reminder_sound">Hatırlatma sesi</string>

View File

@ -174,9 +174,9 @@
<string name="manage_event_types">Manage event types</string>
<string name="use_24_hour_format">Use 24-hour format</string>
<string name="sunday_first">Sunday as first day</string>
<string name="start_weekly_at">Start weekly view day at</string>
<string name="end_weekly_at">End weekly view day at</string>
<string name="week_numbers">Show week numbers in monthy view</string>
<string name="start_day_at">Start day at</string>
<string name="end_day_at">End day at</string>
<string name="week_numbers">Show week numbers</string>
<string name="vibrate">Vibrate on reminder notification</string>
<string name="reminder_sound">Reminder sound</string>
<string name="default_event_reminder">Default event reminder</string>