Move buy me a coffee from bottom to explication

This commit is contained in:
Mathieu Sanchez 2020-11-27 22:31:15 +01:00
parent 8909908baa
commit 31f2bf15b1
4 changed files with 9 additions and 30 deletions

View File

@ -27,7 +27,6 @@ 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="40dp"
android:layout_marginTop="20dp"
style="@style/TextView"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@ -52,14 +52,6 @@
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"
@ -69,7 +61,7 @@
style="@style/TextViewCredits"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/explication_5" />
app:layout_constraintTop_toBottomOf="@+id/explication_4" />
<TextView
android:layout_marginTop="10dp"
@ -122,17 +114,6 @@
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,11 +35,10 @@
<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">- 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="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>.</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>
@ -48,7 +47,6 @@
<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/margin15dp</item>
<item name="android:layout_marginTop">@dimen/margin5dp</item>
<item name="android:textColor">@color/colorPrimary</item>
<item name="android:textSize">@dimen/textSize18sp</item>
<item name="android:textSize">@dimen/textSize16sp</item>
</style>
<style name="TextViewCredits" parent="TextView">
@ -48,6 +48,7 @@
</style>
<dimen name="textSize18sp">18sp</dimen>
<dimen name="textSize16sp">16sp</dimen>
<dimen name="textSize14sp">14sp</dimen>
<dimen name="textInputCornerRadius">20dp</dimen>
<dimen name="margin15dp">15dp</dimen>