add a radiobutton for toggling repetable event deletion

This commit is contained in:
tibbi 2017-03-05 17:01:05 +01:00
parent 5172a60757
commit f8dedf89a6
16 changed files with 109 additions and 1 deletions

View File

@ -5,7 +5,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/big_margin">
android:paddingLeft="@dimen/big_margin"
android:paddingRight="@dimen/big_margin"
android:paddingTop="@dimen/big_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/delete_event_description"
@ -14,4 +16,35 @@
android:text="@string/proceed_with_deletion"
android:textSize="@dimen/bigger_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/delete_event_repeat_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/activity_margin"
android:paddingBottom="@dimen/normal_margin"
android:text="@string/selection_contains_repetition"
android:textSize="@dimen/normal_text_size"/>
<RadioGroup
android:id="@+id/delete_event_radio_view"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.simplemobiletools.commons.views.MyCompatRadioButton
android:id="@+id/delete_event_one_only"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:paddingBottom="@dimen/normal_margin"
android:paddingTop="@dimen/normal_margin"
android:text="@string/delete_one_only"/>
<com.simplemobiletools.commons.views.MyCompatRadioButton
android:id="@+id/delete_event_all"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/normal_margin"
android:paddingTop="@dimen/normal_margin"
android:text="@string/delete_all_occurrences"/>
</RadioGroup>
</LinearLayout>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">Jahre</string>
<string name="repeat_till">Wiederholen bis:</string>
<string name="forever">unendlich</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d Tag</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">anos</string>
<string name="repeat_till">Repetir até:</string>
<string name="forever">Eternamente</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d dia</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Повторять до:</string>
<string name="forever">Бесконечно</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">rokov</string>
<string name="repeat_till">Opakovať do:</string>
<string name="forever">Navždy</string>
<string name="selection_contains_repetition">Výber obsahuje opakujúce sa udalosti</string>
<string name="delete_one_only">Vymazať iba označené opakovania</string>
<string name="delete_all_occurrences">Vymazať všetky opakovania</string>
<string name="update_one_only">Upraviť iba označené opakovania</string>
<string name="update_all_occurrences">Upraviť všetky opakovania</string>
<plurals name="days">
<item quantity="one">%1$d deň</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>

View File

@ -41,6 +41,11 @@
<string name="years_raw">years</string>
<string name="repeat_till">Repeat till:</string>
<string name="forever">Forever</string>
<string name="selection_contains_repetition">The selection contains repeating events</string>
<string name="delete_one_only">Delete the selected occurrence only</string>
<string name="delete_all_occurrences">Delete all occurrences</string>
<string name="update_one_only">Update the selected occurrence only</string>
<string name="update_all_occurrences">Update all occurrences</string>
<plurals name="days">
<item quantity="one">%1$d day</item>