Add @arkon to about section

This commit is contained in:
Karim Abou Zeid 2017-09-04 21:39:34 +02:00
commit 0a71b37f00
4 changed files with 75 additions and 1 deletions

View file

@ -47,12 +47,15 @@ public class AboutActivity extends AbsBaseActivity implements View.OnClickListen
private static String AIDAN_FOLLESTAD_GITHUB = "https://github.com/afollestad";
private static String MICHAEL_COOK_GOOGLE_PLUS = "https://plus.google.com/102718493746376292361";
private static String MICHAEL_COOK_WEBSITE = "http://cookicons.co/";
private static String MICHAEL_COOK_WEBSITE = "https://cookicons.co/";
private static String MAARTEN_CORPEL_GOOGLE_PLUS = "https://google.com/+MaartenCorpel";
private static String ALEKSANDAR_TESIC_GOOGLE_PLUS = "https://google.com/+aleksandartešić";
private static String EUGENE_CHEUNG_GITHUB = "https://github.com/arkon";
private static String EUGENE_CHEUNG_WEBSITE = "https://echeung.me/";
@BindView(R.id.toolbar)
Toolbar toolbar;
@BindView(R.id.app_version)
@ -95,6 +98,10 @@ public class AboutActivity extends AbsBaseActivity implements View.OnClickListen
AppCompatButton maartenCorpelGooglePlus;
@BindView(R.id.aleksandar_tesic_google_plus)
AppCompatButton aleksandarTesicGooglePlus;
@BindView(R.id.eugene_cheung_git_hub)
AppCompatButton eugeneCheungGitHub;
@BindView(R.id.eugene_cheung_website)
AppCompatButton eugeneCheungWebsite;
@Override
protected void onCreate(Bundle savedInstanceState) {
@ -147,6 +154,8 @@ public class AboutActivity extends AbsBaseActivity implements View.OnClickListen
michaelCookWebsite.setOnClickListener(this);
maartenCorpelGooglePlus.setOnClickListener(this);
aleksandarTesicGooglePlus.setOnClickListener(this);
eugeneCheungGitHub.setOnClickListener(this);
eugeneCheungWebsite.setOnClickListener(this);
}
@Override
@ -211,6 +220,10 @@ public class AboutActivity extends AbsBaseActivity implements View.OnClickListen
openUrl(MAARTEN_CORPEL_GOOGLE_PLUS);
} else if (v == aleksandarTesicGooglePlus) {
openUrl(ALEKSANDAR_TESIC_GOOGLE_PLUS);
} else if (v == eugeneCheungGitHub) {
openUrl(EUGENE_CHEUNG_GITHUB);
} else if (v == eugeneCheungWebsite) {
openUrl(EUGENE_CHEUNG_WEBSITE);
}
}

View file

@ -240,6 +240,65 @@
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dividerColor" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="8dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/eugene_cheung"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/eugene_cheung_summary"
android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="8dp">
<android.support.v7.widget.AppCompatButton
android:id="@+id/eugene_cheung_website"
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/website"
android:textColor="#4183c4" />
<android.support.v7.widget.AppCompatButton
android:id="@+id/eugene_cheung_git_hub"
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/git_hub"
android:textColor="#4183c4" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>

View file

@ -7,6 +7,7 @@
<string name="maarten_corpel" translatable="false">Maarten Corpel</string>
<string name="michael_cook_cookicons" translatable="false">Michael Cook (Cookicons)</string>
<string name="aleksandar_tesic" translatable="false">Aleksandar Tešić</string>
<string name="eugene_cheung">Eugene Cheung</string>
<string name="aachen_germany" translatable="false">Aachen, Germany</string>

View file

@ -285,4 +285,5 @@
<string name="purchase">Purchase</string>
<string name="restore">Restore</string>
<string name="no_purchase_found">No purchase found.</string>
<string name="eugene_cheung_summary">For his contributions to the source code.</string>
</resources>