Compare commits
16 Commits
ms/issues-
...
2.0.2-beta
Author | SHA1 | Date | |
---|---|---|---|
d5c140e9e5 | |||
b037788708 | |||
6983af93d7 | |||
ee9b243902 | |||
1530028f4b | |||
20d41dec23 | |||
b712c391ce | |||
b04cd541b4 | |||
055be5f968 | |||
af6cef0cd4 | |||
3b2bf5f0ae | |||
fac797ed32 | |||
731920ca28 | |||
7d8c509e9c | |||
50cd345a53 | |||
8f965e5322 |
@ -15,8 +15,8 @@ android {
|
||||
applicationId "fr.sanchezm.attestationsCovid19"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
versionCode 10
|
||||
versionName "2.0.1"
|
||||
versionCode 1006
|
||||
versionName "2.0.2-beta1"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
@ -76,15 +76,13 @@ dependencies {
|
||||
// Android X
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'androidx.core:core-ktx:1.3.2'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
|
||||
|
||||
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1'
|
||||
implementation 'androidx.navigation:navigation-fragment:2.3.1'
|
||||
implementation 'androidx.navigation:navigation-ui-ktx:2.3.1'
|
||||
implementation 'androidx.navigation:navigation-ui:2.3.1'
|
||||
|
||||
// Design
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
|
@ -96,7 +96,7 @@ class AddViewModel(
|
||||
|
||||
val dpd = DatePickerDialog(
|
||||
app,
|
||||
DatePickerDialog.OnDateSetListener { _, yearPicked, monthOfYear, dayOfMonth ->
|
||||
{ _, yearPicked, monthOfYear, dayOfMonth ->
|
||||
birthday.value =
|
||||
"${getFormattedDayOrMonth(dayOfMonth)}/${getFormattedDayOrMonth(monthOfYear + 1)}/$yearPicked"
|
||||
},
|
||||
|
@ -20,7 +20,6 @@ class InfoFragment : Fragment() {
|
||||
): View? {
|
||||
val root = inflater.inflate(R.layout.fragment_info, container, false)
|
||||
|
||||
root.explication_4.movementMethod = LinkMovementMethod.getInstance()
|
||||
root.credits_1.movementMethod = LinkMovementMethod.getInstance()
|
||||
root.credits_2.movementMethod = LinkMovementMethod.getInstance()
|
||||
root.credits_3.movementMethod = LinkMovementMethod.getInstance()
|
||||
@ -28,6 +27,7 @@ class InfoFragment : Fragment() {
|
||||
root.credits_5.movementMethod = LinkMovementMethod.getInstance()
|
||||
|
||||
root.develop_by.movementMethod = LinkMovementMethod.getInstance()
|
||||
root.buymeacoffe.movementMethod = LinkMovementMethod.getInstance()
|
||||
root.version.text = getVersionText()
|
||||
return root
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
<TextView
|
||||
android:id="@+id/explication_1"
|
||||
android:text="@string/explication_1"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginTop="40dp"
|
||||
style="@style/TextView"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -52,6 +52,14 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/explication_3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/explication_5"
|
||||
android:text="@string/explication_5"
|
||||
style="@style/TextView"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/explication_4" />
|
||||
|
||||
<TextView
|
||||
android:layout_marginTop="20dp"
|
||||
android:id="@+id/credits_title"
|
||||
@ -61,7 +69,7 @@
|
||||
style="@style/TextViewCredits"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/explication_4" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/explication_5" />
|
||||
|
||||
<TextView
|
||||
android:layout_marginTop="10dp"
|
||||
@ -114,6 +122,17 @@
|
||||
android:layout_marginBottom="5dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/buymeacoffe" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/buymeacoffe"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/buymeacoffe"
|
||||
android:textSize="12sp"
|
||||
android:textColor="?attr/colorAccent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/version" />
|
||||
|
||||
<TextView
|
||||
|
@ -35,10 +35,11 @@
|
||||
<string name="reason_9">Déplacement pour chercher les enfants à l’école et à l’occasion de leurs activités périscolaires.</string>
|
||||
|
||||
<!-- Info Fragment -->
|
||||
<string name="explication_1">- Cette application n\'aura jamais de publicité.</string>
|
||||
<string name="explication_2">- Toutes les données sont stockées uniquement sur votre téléphone, utilisable hors ligne.</string>
|
||||
<string name="explication_3">- Application non gouvernementale ni officielle, développée par un jeune diplômé.</string>
|
||||
<string name="explication_4">- Si vous souhaitez m\'offrir une bière ou un café, c\'est <a href="https://buymeacoff.ee/sanchezm/">ici</a> ou vous pouvez me suivre sur <a href="https://www.twitch.tv/mathdieu">twitch</a>.</string>
|
||||
<string name="explication_1">- Merci de n\'utiliser l\'application qu\'en cas de nécessité.</string>
|
||||
<string name="explication_2">- Cette application n\'aura jamais de publicité.</string>
|
||||
<string name="explication_3">- Toutes les données sont stockées uniquement sur votre téléphone, utilisable hors ligne.</string>
|
||||
<string name="explication_4">- Application non gouvernementale ni officielle, développée par un étudiant.</string>
|
||||
<string name="explication_5">- J\'ai, moi-même été touché par ce virus, même à 22 ans il m\'a mis KO 2\-3 jours, faites attention à vous et à vos proches.</string>
|
||||
<string name="credits_title">Petit remerciement pour l\'aide apportée au développement de l\'application :</string>
|
||||
<string name="credits_1">TomRoush: <a href="https://github.com/TomRoush/PdfBox-Android">PdfBox-Android</a></string>
|
||||
<string name="credits_2">Barteksc: <a href="https://github.com/barteksc/AndroidPdfViewer">AndroidPdfViewer</a></string>
|
||||
@ -47,6 +48,7 @@
|
||||
<string name="credits_5">Merci à <a href="https://www.linkedin.com/in/julienfabbro/">Fabbro J.</a> pour l\'aide sur l\'orthographe</string>
|
||||
<string name="develop_by">"Développée avec ❤ par
|
||||
<a href="https://www.sanchezm.fr/">Mathieu Sanchez</a>"</string>
|
||||
<string name="buymeacoffe">Si vous souhaitez m\'offrir une bière ou un café, c\'est <a href="https://buymeacoff.ee/sanchezm/">ici</a></string>
|
||||
<string name="version_number">Version :</string>
|
||||
|
||||
<!-- Attestation Items -->
|
||||
|
@ -37,9 +37,9 @@
|
||||
<style name="TextView" parent="Widget.MaterialComponents.TextView">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_marginTop">@dimen/margin5dp</item>
|
||||
<item name="android:layout_marginTop">@dimen/margin15dp</item>
|
||||
<item name="android:textColor">@color/colorPrimary</item>
|
||||
<item name="android:textSize">@dimen/textSize14sp</item>
|
||||
<item name="android:textSize">@dimen/textSize18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextViewCredits" parent="TextView">
|
||||
|
Reference in New Issue
Block a user