add previous/next event link to details dialog

The links will point to the previous/next
event of the same type
This commit is contained in:
2025-09-16 01:49:20 +02:00
parent ea88fd6bb6
commit f4c526ff8d
4 changed files with 155 additions and 4 deletions

View File

@@ -60,4 +60,33 @@
android:text="@string/dialog_event_detail_notes"/>
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/dialog_event_previous"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:textSize="12sp"
android:text="" />
<Space
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent" />
<TextView
android:id="@+id/dialog_event_next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:textSize="12sp"
android:text="" />
</LinearLayout>
</LinearLayout>

View File

@@ -55,10 +55,16 @@
<string name="toast_integer_error">Invalid value. Insert an integer.</string>
<string name="now">now</string>
<string name="hour_ago">hour</string>
<string name="hours_ago">hours</string>
<string name="second_ago">sec</string>
<string name="seconds_ago">secs</string>
<string name="minute_ago">min</string>
<string name="minutes_ago">mins</string>
<string name="hour_ago">hour</string>
<string name="hours_ago">hours</string>
<string name="day_ago">day</string>
<string name="days_ago">days</string>
<string name="year_ago">year</string>
<string name="years_ago">years</string>
<string name="no_connection">No connection</string>
<string name="no_connection_explain">Unable to reach WebDAV service</string>