diff --git a/.idea/misc.xml b/.idea/misc.xml
index 7158618b8..63f7e50d3 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,6 +3,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/README.md b/README.md
index 7fd28ad94..f9490a104 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
**Mastalab** est une application Android dédiée à l'instance [mastodon.etalab.gouv.fr](https://mastodon.etalab.gouv.fr)
-Pour l'utiliser vous devez posséder un compte sur cette instance. Si ce n'est pas le cas vous pouvez [vous inscrire](https://mastodon.etalab.gouv.fr/auth/sign_up).
+Pour l'utiliser vous devez posséder un compte sur cette instance. Si ce n'est pas le cas, vous pouvez [vous inscrire](https://mastodon.etalab.gouv.fr/auth/sign_up).
Cependant vous devez avoir une adresse email qui soit listée sur [cette page](https://forum.etalab.gouv.fr/t/mastodon-le-reseau-social-libre-et-decentralise-en-plein-decollage/3538).
diff --git a/app/mastodon-etalab-v1.0.3.apk b/app/mastodon-etalab-v1.0.3.apk
new file mode 100644
index 000000000..db2567033
Binary files /dev/null and b/app/mastodon-etalab-v1.0.3.apk differ
diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java b/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java
index bde2f96dd..91e2b01df 100644
--- a/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java
+++ b/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java
@@ -16,6 +16,7 @@ package fr.gouv.etalab.mastodon.activities;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
+import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
@@ -45,19 +46,25 @@ public class AboutActivity extends AppCompatActivity {
PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
String version = pInfo.versionName;
about_version.setText(getResources().getString(R.string.about_vesrion, version));
- } catch (PackageManager.NameNotFoundException e) {
- e.printStackTrace();
- }
+ } catch (PackageManager.NameNotFoundException ignored) {}
TextView about_developer = (TextView) findViewById(R.id.about_developer);
TextView about_license = (TextView) findViewById(R.id.about_license);
+ TextView about_code = (TextView) findViewById(R.id.about_code);
+ about_developer.setMovementMethod(LinkMovementMethod.getInstance());
+ about_license.setMovementMethod(LinkMovementMethod.getInstance());
+ about_code.setMovementMethod(LinkMovementMethod.getInstance());
+ about_developer.setLinkTextColor(Color.BLUE);
+ about_license.setLinkTextColor(Color.BLUE);
+ about_code.setLinkTextColor(Color.BLUE);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
about_developer.setText(Html.fromHtml(getString(R.string.about_developer), Html.FROM_HTML_MODE_COMPACT));
about_license.setText(Html.fromHtml(getString(R.string.about_license), Html.FROM_HTML_MODE_COMPACT));
-
+ about_code.setText(Html.fromHtml(getString(R.string.about_code), Html.FROM_HTML_MODE_COMPACT));
}else {
about_developer.setText(Html.fromHtml(getString(R.string.about_developer)));
about_license.setText(Html.fromHtml(getString(R.string.about_license)));
+ about_code.setText(Html.fromHtml(getString(R.string.about_code)));
}
}
diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml
index 843504512..f94e777b9 100644
--- a/app/src/main/res/layout/activity_about.xml
+++ b/app/src/main/res/layout/activity_about.xml
@@ -37,16 +37,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 6bc83a98e..9b2980938 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -121,6 +121,7 @@
Version %1$s
Développeur : @tschneider@mastodon.etalab.gouv.fr
Licence : GNU GPL V3
+ Code source : bitbucket
Conversation