add a spinner for Event repetition

This commit is contained in:
tibbi 2016-09-10 22:54:29 +02:00
parent 111ed061c4
commit 3d681f1c30
7 changed files with 55 additions and 0 deletions

View File

@ -133,5 +133,22 @@
android:textSize="@dimen/day_text_size"
android:visibility="invisible"/>
<TextView
android:id="@+id/event_repetition_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/event_reminder"
android:layout_marginTop="@dimen/activity_margin"
android:text="@string/repetition"
android:textSize="@dimen/day_text_size"/>
<android.support.v7.widget.AppCompatSpinner
android:id="@+id/event_repetition"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/event_repetition_label"
android:entries="@array/repetition"
android:padding="@dimen/activity_margin"/>
</RelativeLayout>
</ScrollView>

View File

@ -21,6 +21,12 @@
<string name="off">Aus</string>
<string name="at_start">Zu Beginn</string>
<string name="minutes_before">Minuten vorher</string>
<string name="repetition">Repetition</string>
<string name="none">None</string>
<string name="daily">Daily</string>
<string name="weekly">Weekly</string>
<string name="monthly">Monthly</string>
<string name="yearly">Yearly</string>
<!-- Day details -->
<string name="details">Details</string>

View File

@ -21,6 +21,12 @@
<string name="off">Off</string>
<string name="at_start">All\'inizio</string>
<string name="minutes_before">Minuti prima</string>
<string name="repetition">Repetition</string>
<string name="none">None</string>
<string name="daily">Daily</string>
<string name="weekly">Weekly</string>
<string name="monthly">Monthly</string>
<string name="yearly">Yearly</string>
<!-- Day details -->
<string name="details">Dettagli</string>

View File

@ -21,6 +21,12 @@
<string name="off">オフ</string>
<string name="at_start">開始時</string>
<string name="minutes_before">分前</string>
<string name="repetition">Repetition</string>
<string name="none">None</string>
<string name="daily">Daily</string>
<string name="weekly">Weekly</string>
<string name="monthly">Monthly</string>
<string name="yearly">Yearly</string>
<!-- Day details -->
<string name="details">詳細</string>

View File

@ -21,6 +21,12 @@
<string name="off">Av</string>
<string name="at_start">Vid start</string>
<string name="minutes_before">Minuter före</string>
<string name="repetition">Repetition</string>
<string name="none">None</string>
<string name="daily">Daily</string>
<string name="weekly">Weekly</string>
<string name="monthly">Monthly</string>
<string name="yearly">Yearly</string>
<!-- Day details -->
<string name="details">Detaljer</string>

View File

@ -5,4 +5,12 @@
<item>@string/at_start</item>
<item>@string/minutes_before</item>
</string-array>
<string-array name="repetition">
<item>@string/none</item>
<item>@string/daily</item>
<item>@string/weekly</item>
<item>@string/monthly</item>
<item>@string/yearly</item>
</string-array>
</resources>

View File

@ -21,6 +21,12 @@
<string name="off">Off</string>
<string name="at_start">At start</string>
<string name="minutes_before">Minutes before</string>
<string name="repetition">Repetition</string>
<string name="none">None</string>
<string name="daily">Daily</string>
<string name="weekly">Weekly</string>
<string name="monthly">Monthly</string>
<string name="yearly">Yearly</string>
<!-- Day details -->
<string name="details">Details</string>