diff --git a/app/src/main/java/io/neurolab/activities/AboutUsActivity.java b/app/src/main/java/io/neurolab/activities/AboutUsActivity.java
index 7255a68a..50cd0540 100644
--- a/app/src/main/java/io/neurolab/activities/AboutUsActivity.java
+++ b/app/src/main/java/io/neurolab/activities/AboutUsActivity.java
@@ -1,5 +1,7 @@
package io.neurolab.activities;
+import android.content.Intent;
+import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
@@ -27,6 +29,7 @@ protected void onCreate(Bundle savedInstanceState) {
.addYoutube("UCQprMsG-raCIMlBudm20iLQ")
.addInstagram("fossasia")
.addGitHub("fossasia")
+ .addItem(addDevelopers())
.create();
FrameLayout frameLayout = new FrameLayout(this);
FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
@@ -35,4 +38,19 @@ protected void onCreate(Bundle savedInstanceState) {
setContentView(frameLayout);
}
+ private Element addDevelopers() {
+ Element developersElement = new Element();
+ developersElement.setTitle(getString(R.string.developers));
+ developersElement.setIconDrawable(R.drawable.round_supervised_user_circle_24);
+ developersElement.setOnClickListener(v -> {
+ String url = getString(R.string.github_developers_link);
+ if (!url.startsWith("http://") && !url.startsWith("https://")) {
+ url = "https://" + url;
+ }
+ Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
+ startActivity(browserIntent);
+ });
+ return developersElement;
+ }
+
}
diff --git a/app/src/main/res/drawable/round_supervised_user_circle_24.xml b/app/src/main/res/drawable/round_supervised_user_circle_24.xml
new file mode 100644
index 00000000..b494c0ba
--- /dev/null
+++ b/app/src/main/res/drawable/round_supervised_user_circle_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 1c5ecf8e..62ad4430 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -178,4 +178,6 @@ A difference to existing projects like OpenBCI is that it will not be necessary
Enable
received data display
Send
+ Developers
+ https://github.com/fossasia/neurolab-android/graphs/contributors