22 Commits

Author SHA1 Message Date
a7c44df553 Bumped version 2025-09-21 09:21:04 +02:00
928112adb8 Updated gradle wrapper 2025-09-21 09:20:47 +02:00
b90dc92874 Link to contributors in fastlane 2025-09-21 09:20:21 +02:00
36481a1194 Added thanks to Moritz Warning contribution 2025-09-21 09:12:11 +02:00
d4adb9d981 Merge pull request 'improvements' (#10) from mwarning/luna-tracker:improvements into master
Reviewed-on: #10
2025-09-21 09:01:03 +02:00
5df3b31e64 activity_main: lower margin from 10 to 5dp
The buttons are big enough for fingers.
Let's make the view more compact.
2025-09-19 12:41:55 +02:00
0a96fb91d7 DateUtils: simplify code 2025-09-19 12:41:55 +02:00
f4c526ff8d add previous/next event link to details dialog
The links will point to the previous/next
event of the same type
2025-09-19 12:41:51 +02:00
ea88fd6bb6 make more strings translateable 2025-09-16 21:11:52 +02:00
3e2bdca083 make some val constant 2025-09-16 21:11:52 +02:00
e5e486c315 remove unused imports 2025-09-16 21:11:52 +02:00
3f648a6490 remove stray 1 character from time 2025-09-16 21:11:52 +02:00
cc6ebc398c activity_main: move progress bar next to event list title
Save some vertical space and prevent vertical size change/flicker.
2025-09-16 21:11:52 +02:00
e1f48e6524 MainActivity: support 24h format 2025-09-16 21:11:52 +02:00
5e1c67d52d MainActivity: small code cleanup 2025-09-16 21:11:52 +02:00
3a457b2ae6 bigger font for event detail dialog 2025-09-16 21:11:52 +02:00
a2fd04d233 remove log event title
Keep the main page simpler and have a bit more
space for log messages.
2025-09-16 21:11:52 +02:00
f1f73b65f7 add setting to disable breastfeeding buttons
Some women do not breastfeed. Hide the buttons
in order to have more space for log messages.
2025-09-16 21:11:49 +02:00
5c247f5948 replace dp with sp
As suggested by android-studio.
2025-09-16 12:23:44 +02:00
83b77b40d6 values: escape apostrophe characters 2025-09-16 12:23:44 +02:00
25f7b1fc00 add password toggle view icon 2025-09-16 12:23:44 +02:00
a635e46180 layout_marginLeft is deprecated 2025-09-16 12:23:40 +02:00
14 changed files with 40 additions and 20 deletions

1
.idea/.name generated Normal file
View File

@@ -0,0 +1 @@
LunaTracker

6
.idea/AndroidProjectSystem.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AndroidProjectSystem">
<option name="providerId" value="com.android.tools.idea.GradleProjectSystem" />
</component>
</project>

6
.idea/compiler.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="21" />
</component>
</project>

View File

@@ -11,7 +11,8 @@ Dedicated to my daughter Luna.
![Screenshot](fastlane/metadata/android/en-US/images/phoneScreenshots/1.png) ![Screenshot](fastlane/metadata/android/en-US/images/phoneScreenshots/1.png)
Thanks for the valuable contributions to: ## Thanks for the valuable contributions to:
Chepycou (French translation) - Chepycou (French translation)
Daniel Neubauer (German translation) - Daniel Neubauer (German translation)
- Moritz Warning (Various bugfixes and new features)

View File

@@ -12,8 +12,8 @@ android {
applicationId = "it.danieleverducci.lunatracker" applicationId = "it.danieleverducci.lunatracker"
minSdk = 21 minSdk = 21
targetSdk = 34 targetSdk = 34
versionCode = 4 versionCode = 5
versionName = "0.6" versionName = "0.7"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@@ -47,7 +47,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="38dp" android:layout_height="38dp"
android:layout_margin="10dp" android:layout_margin="5dp"
android:orientation="horizontal" android:orientation="horizontal"
android:gravity="center_vertical"> android:gravity="center_vertical">
@@ -95,7 +95,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="2" android:layout_weight="2"
android:layout_margin="10dp" android:layout_margin="5dp"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="50sp" android:textSize="50sp"
@@ -106,7 +106,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:layout_margin="10dp" android:layout_margin="5dp"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="50sp" android:textSize="50sp"
@@ -123,7 +123,7 @@
android:id="@+id/button_nipple_left" android:id="@+id/button_nipple_left"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="10dp" android:layout_margin="5dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@@ -134,7 +134,7 @@
android:id="@+id/button_nipple_both" android:id="@+id/button_nipple_both"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="10dp" android:layout_margin="5dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@@ -145,7 +145,7 @@
android:id="@+id/button_nipple_right" android:id="@+id/button_nipple_right"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="10dp" android:layout_margin="5dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@@ -162,7 +162,7 @@
android:id="@+id/button_change_poo" android:id="@+id/button_change_poo"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="10dp" android:layout_margin="5dp"
android:layout_weight="2" android:layout_weight="2"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@@ -173,7 +173,7 @@
android:id="@+id/button_change_pee" android:id="@+id/button_change_pee"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="10dp" android:layout_margin="5dp"
android:layout_weight="2" android:layout_weight="2"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@@ -184,7 +184,7 @@
android:id="@+id/button_more" android:id="@+id/button_more"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_margin="10dp" android:layout_margin="5dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@@ -198,6 +198,7 @@
<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:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView

View File

@@ -45,7 +45,7 @@
<RadioButton android:id="@+id/settings_data_webdav" <RadioButton android:id="@+id/settings_data_webdav"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="30dp" android:layout_marginTop="20dp"
android:text="@string/settings_storage_dav"/> android:text="@string/settings_storage_dav"/>
<TextView <TextView
@@ -123,6 +123,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_marginTop="5dp"
android:layout_marginEnd="30dp"> android:layout_marginEnd="30dp">
<TextView <TextView

View File

@@ -11,7 +11,7 @@
android:id="@+id/type" android:id="@+id/type"
android:layout_width="90dp" android:layout_width="90dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="10dp" android:paddingStart="10dp"
android:textSize="28sp" android:textSize="28sp"
android:lines="1" android:lines="1"
android:maxLines="1" android:maxLines="1"

View File

@@ -61,8 +61,8 @@
<string name="minutes_ago">mins</string> <string name="minutes_ago">mins</string>
<string name="hour_ago">hour</string> <string name="hour_ago">hour</string>
<string name="hours_ago">hours</string> <string name="hours_ago">hours</string>
<string name="day_ago">year</string> <string name="day_ago">day</string>
<string name="days_ago">years</string> <string name="days_ago">days</string>
<string name="year_ago">year</string> <string name="year_ago">year</string>
<string name="years_ago">years</string> <string name="years_ago">years</string>

View File

@@ -6,6 +6,7 @@ This app is meant to log all the relevant events (diaper change, breastfeeding,
Dedicated to my daughter Luna. Dedicated to my daughter Luna.
A HUGE thanks to all our contributors. See https://git.ichibi.eu/penguin86/luna-tracker/src/branch/master/README.md
NOTE: The content on this app is for informational or educational purposes only and does not substitute professional medical advice or consultations with healthcare professionals. NOTE: The content on this app is for informational or educational purposes only and does not substitute professional medical advice or consultations with healthcare professionals.
Feature graphic ("Baby and baby milk bottle. Baby feeding."): © Vyacheslav Argenberg / http://www.vascoplanet.com/, CC BY 4.0 <https://creativecommons.org/licenses/by/4.0>, via Wikimedia Commons Feature graphic ("Baby and baby milk bottle. Baby feeding."): © Vyacheslav Argenberg / http://www.vascoplanet.com/, CC BY 4.0 <https://creativecommons.org/licenses/by/4.0>, via Wikimedia Commons

View File

@@ -8,6 +8,8 @@ Elle permet de synchroniser les données entre différents appareils (en utilisa
Dédié à ma fille Luna. Dédié à ma fille Luna.
Un grand merci à tous nos contributeurs. Voir https://git.ichibi.eu/penguin86/luna-tracker/src/branch/master/README.md
REMARQUE : le contenu de cette application est fourni à titre informatif ou éducatif uniquement et ne remplace pas les conseils médicaux professionnels ou les consultations avec des professionnels de la santé. REMARQUE : le contenu de cette application est fourni à titre informatif ou éducatif uniquement et ne remplace pas les conseils médicaux professionnels ou les consultations avec des professionnels de la santé.
Crédit image ("Baby and baby milk bottle. Baby feeding."): © Vyacheslav Argenberg / http://www.vascoplanet.com/, CC BY 4.0 <https://creativecommons.org/licenses/by/4.0>, via Wikimedia Commons Crédit image ("Baby and baby milk bottle. Baby feeding."): © Vyacheslav Argenberg / http://www.vascoplanet.com/, CC BY 4.0 <https://creativecommons.org/licenses/by/4.0>, via Wikimedia Commons

View File

@@ -6,6 +6,7 @@ Quest'app è pensata per memorizzare tutti gli eventi del bambino (cambio di pan
Dedicato a mia figlia Luna. Dedicato a mia figlia Luna.
Un grandissimo ringraziamento a tutti i contributors! Vedi https://git.ichibi.eu/penguin86/luna-tracker/src/branch/master/README.md
NOTA: il contenuto di quest'app ha solo scopo informativo o didattico e non sostituisce il consulto medico professionale o le consulenze con operatori sanitari. NOTA: il contenuto di quest'app ha solo scopo informativo o didattico e non sostituisce il consulto medico professionale o le consulenze con operatori sanitari.
Feature graphic ("Baby and baby milk bottle. Baby feeding."): © Vyacheslav Argenberg / http://www.vascoplanet.com/, CC BY 4.0 <https://creativecommons.org/licenses/by/4.0>, via Wikimedia Commons Feature graphic ("Baby and baby milk bottle. Baby feeding."): © Vyacheslav Argenberg / http://www.vascoplanet.com/, CC BY 4.0 <https://creativecommons.org/licenses/by/4.0>, via Wikimedia Commons

View File

@@ -1,5 +1,5 @@
[versions] [versions]
agp = "8.7.2" agp = "8.13.0"
kotlin = "2.0.0" kotlin = "2.0.0"
coreKtx = "1.10.1" coreKtx = "1.10.1"
junit = "4.13.2" junit = "4.13.2"

View File

@@ -1,6 +1,6 @@
#Sat Nov 02 10:58:51 CET 2024 #Sat Nov 02 10:58:51 CET 2024
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists