1 Commits

Author SHA1 Message Date
420b2f0b66 notes: add icons to use previous/next event as template 2025-11-07 21:26:42 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -343,6 +343,7 @@ class MainActivity : AppCompatActivity() {
if (useQuantity) { if (useQuantity) {
qtyET.setText("") qtyET.setText("")
} }
updateContent(lunaEvent)
} }
if (!useQuantity) { if (!useQuantity) {

View File

@@ -27,27 +27,26 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="end" android:gravity="end"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:id="@+id/notes_template_prev" android:id="@+id/notes_template_prev"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="18dp" android:textSize="16dp"
android:text="⬅️"/> android:text="⬅️"/>
<TextView <TextView
android:id="@+id/notes_clear" android:id="@+id/notes_clear"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="5dp" android:layout_marginHorizontal="5dp"
android:textSize="18dp" android:textSize="16dp"
android:text="🚫"/> android:text="🚫"/>
<TextView <TextView
android:id="@+id/notes_template_next" android:id="@+id/notes_template_next"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="18dp" android:textSize="16dp"
android:text="➡️"/> android:text="➡️"/>
</LinearLayout> </LinearLayout>