From f31c68193acd0be6851a434ce82f6559e680f440 Mon Sep 17 00:00:00 2001 From: Daniele Verducci Date: Wed, 27 Nov 2024 07:45:43 +0100 Subject: [PATCH] Graphics edits --- app/src/main/res/drawable/textview_background.xml | 12 ++++++++++++ app/src/main/res/layout/activity_settings.xml | 9 ++++++--- app/src/main/res/layout/dialog_notes.xml | 8 ++++++-- app/src/main/res/layout/more_events_popup.xml | 4 ++++ app/src/main/res/layout/number_edit_dialog.xml | 3 ++- app/src/main/res/values-it/strings.xml | 5 +++-- app/src/main/res/values/strings.xml | 5 +++-- app/src/main/res/values/themes.xml | 8 +++++++- 8 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 app/src/main/res/drawable/textview_background.xml diff --git a/app/src/main/res/drawable/textview_background.xml b/app/src/main/res/drawable/textview_background.xml new file mode 100644 index 0000000..3ac8e0d --- /dev/null +++ b/app/src/main/res/drawable/textview_background.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 1da01c8..e80fd5e 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -68,7 +68,8 @@ android:layout_height="wrap_content" android:layout_marginLeft="30dp" android:hint="@string/settings_storage_dav_url_hint" - android:inputType="textUri"/> + android:inputType="textUri" + android:background="@drawable/textview_background"/> + android:inputType="textEmailAddress" + android:background="@drawable/textview_background"/> + android:inputType="textPassword" + android:background="@drawable/textview_background"/> + android:hint="@string/log_notes_dialog_qty_hint" + android:background="@drawable/textview_background"/> + android:lines="10" + android:hint="@string/log_notes_dialog_note_hint" + android:background="@drawable/textview_background"/> \ No newline at end of file diff --git a/app/src/main/res/layout/more_events_popup.xml b/app/src/main/res/layout/more_events_popup.xml index ba4598f..5775004 100644 --- a/app/src/main/res/layout/more_events_popup.xml +++ b/app/src/main/res/layout/more_events_popup.xml @@ -16,6 +16,7 @@ android:layout_height="match_parent" android:padding="20dp" android:background="@drawable/button_background" + style="@style/OverflowMenuText" android:text="@string/overflow_event_medicine"/> @@ -51,6 +54,7 @@ android:layout_marginTop="10dp" android:padding="20dp" android:background="@drawable/button_background" + style="@style/OverflowMenuText" android:text="@string/overflow_event_custom"/> diff --git a/app/src/main/res/layout/number_edit_dialog.xml b/app/src/main/res/layout/number_edit_dialog.xml index 3abeb31..b36f24d 100644 --- a/app/src/main/res/layout/number_edit_dialog.xml +++ b/app/src/main/res/layout/number_edit_dialog.xml @@ -11,7 +11,8 @@ android:layout_width="150dp" android:layout_height="wrap_content" android:inputType="number" - android:hint="0"/> + android:hint="0" + android:background="@drawable/textview_background"/> 💊 Medicina 🪠 Clistere 📝 Nota - ➕ Aggiungi evento personalizzato + ➕ Personalizzato Biberon Pesata @@ -69,7 +69,8 @@ Note: Nome della medicina, quantità, formato, note…: - Quantità (numero intero), o lascia vuoto + Quantità, o vuoto + Inserisci le note Dettaglio evento diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 719adea..64b64eb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -37,7 +37,7 @@ 💊 Medicine 🪠 Enema 📝 Note - ➕ Add custom event + ➕ Add custom Event logged Logbook saved @@ -81,7 +81,8 @@ Notes: Medicine name, quantity, type, notes…: - Integer quantity, or leave blank + Quantity (or empty) + Write some notes ml g diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index bc0b267..561038d 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,5 +1,11 @@ - + + \ No newline at end of file