diff --git a/app/src/main/java/org/shadowice/flocke/andotp/Activities/AboutActivity.java b/app/src/main/java/org/shadowice/flocke/andotp/Activities/AboutActivity.java index 08dd3f29..64416665 100644 --- a/app/src/main/java/org/shadowice/flocke/andotp/Activities/AboutActivity.java +++ b/app/src/main/java/org/shadowice/flocke/andotp/Activities/AboutActivity.java @@ -51,13 +51,16 @@ public class AboutActivity extends BaseActivity { private static final String AUTHOR2_GITHUB = "https://github.com/0xbb"; private static final String AUTHOR2_APP = AUTHOR2_GITHUB + "/otp-authenticator"; + private static final String CONTRIBUTORS_URI = GITHUB_URI + "/blob/master/README.md#contributors"; + private static final String TRANSLATORS_URI = GITHUB_URI + "/blob/master/README.md#translators"; + private static final String BUGREPORT_URI = GITHUB_URI + "/issues"; private static final String TRANSLATE_URI = "https://crowdin.com/project/andotp"; int[] imageResources = { R.id.aboutImgVersion, R.id.aboutImgLicense, R.id.aboutImgChangelog, R.id.aboutImgSource, - R.id.aboutImgOpenSource, R.id.aboutImgAuthor1, R.id.aboutImgAuthor2, R.id.aboutImgBugs, - R.id.aboutImgTranslate + R.id.aboutImgOpenSource, R.id.aboutImgAuthor1, R.id.aboutImgAuthor2, R.id.aboutImgContributors, + R.id.aboutImgTranslators, R.id.aboutImgBugs, R.id.aboutImgTranslate }; @Override @@ -150,6 +153,21 @@ public class AboutActivity extends BaseActivity { } }); + LinearLayout contributors = (LinearLayout) v.findViewById(R.id.about_layout_contributors); + LinearLayout translators = (LinearLayout) v.findViewById(R.id.about_layout_translators); + contributors.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + openURI(CONTRIBUTORS_URI); + } + }); + translators.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + openURI(TRANSLATORS_URI); + } + }); + LinearLayout bugReport = (LinearLayout) v.findViewById(R.id.about_layout_bugs); LinearLayout translate = (LinearLayout) v.findViewById(R.id.about_layout_translate); bugReport.setOnClickListener(new View.OnClickListener() { diff --git a/app/src/main/res/layout/content_about.xml b/app/src/main/res/layout/content_about.xml index 42e3a085..82ee9a92 100644 --- a/app/src/main/res/layout/content_about.xml +++ b/app/src/main/res/layout/content_about.xml @@ -326,7 +326,6 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/strings_about.xml b/app/src/main/res/values/strings_about.xml index 3fef21fd..ee99f36e 100644 --- a/app/src/main/res/values/strings_about.xml +++ b/app/src/main/res/values/strings_about.xml @@ -26,6 +26,9 @@ Jakob Nixdorf Bruno Bierbaumer + Contributors + Translators + Support development