16 Commits

Author SHA1 Message Date
d5c140e9e5 Version 2.0.2-beta1 et versionCode 1006 2020-10-31 15:15:15 +01:00
b037788708 Merge branch 'ms/issues-17/add_buy_me_a_coffee' into beta
# Conflicts:
#	app/build.gradle
2020-10-31 15:07:24 +01:00
6983af93d7 Version 2.0.1-beta2 and versionCode 1005 2020-10-31 09:54:38 +01:00
ee9b243902 Merge remote-tracking branch 'origin/ms/issue-16/update_new_attestation' into beta 2020-10-31 09:51:33 +01:00
1530028f4b Version 2.0.1-beta1 version code 1004 2020-10-30 08:50:16 +01:00
20d41dec23 Merge branch 'ms/issue-16/update_new_attestation' into beta 2020-10-30 08:49:09 +01:00
b712c391ce Version 2.0.0-beta1 code 1003 2020-10-24 17:34:02 +02:00
b04cd541b4 Merge master in beta 2020-10-24 17:33:03 +02:00
055be5f968 Merge branch 'master' into beta
# Conflicts:
#	app/build.gradle
#	app/src/main/java/fr/sanchezm/attestationsCovid19/utilities/PdfUtils.kt
2020-10-24 17:23:06 +02:00
af6cef0cd4 Version 1.0.5-beta1 version code 1002 2020-05-02 15:47:23 +02:00
3b2bf5f0ae Merge branch 'ms/issue-14/adding-pickers' into beta
# Conflicts:
#	app/build.gradle
2020-05-02 15:46:43 +02:00
fac797ed32 Version 1.0.4-beta2 version code 1001 2020-05-02 14:47:57 +02:00
731920ca28 Merge branch 'ms/issue-4/add-credits-libraries-used' into beta 2020-05-02 14:46:45 +02:00
7d8c509e9c 1.0.4-beta1 version code 1000 2020-04-29 23:56:48 +02:00
50cd345a53 Merge pull request 'Adding config for alpha and beta build' (#12) from adding-config-alpha-beta into beta 2020-04-29 21:48:52 +00:00
8f965e5322 Merge pull request 'Adding credits and correct spelling mistake' (#10) from ms/issue-4/add-credits-libraries-used into beta 2020-04-29 21:46:11 +00:00
6 changed files with 34 additions and 15 deletions

View File

@ -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'

View File

@ -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"
},

View File

@ -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
}

View File

@ -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

View File

@ -35,10 +35,11 @@
<string name="reason_9">Déplacement pour chercher les enfants à lécole et à loccasion 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 -->

View File

@ -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">