Skip to content

Commit b8676b2

Browse files
committed
add a Google Plus link in the About section
1 parent 16ea1fb commit b8676b2

File tree

7 files changed

+15
-0
lines changed

7 files changed

+15
-0
lines changed

app/src/main/java/com/simplemobiletools/notes/activities/AboutActivity.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,10 @@ public void facebookClicked() {
7373
}
7474
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(link)));
7575
}
76+
77+
@OnClick(R.id.about_gplus)
78+
public void googlePlusClicked() {
79+
final String link = "https://plus.google.com/communities/104880861558693868382";
80+
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(link)));
81+
}
7682
}

app/src/main/res/layout/activity_about.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@
5555
android:layout_below="@+id/about_follow_us"
5656
android:src="@mipmap/facebook"/>
5757

58+
<ImageView
59+
android:id="@+id/about_gplus"
60+
android:layout_width="@dimen/social_logo"
61+
android:layout_height="@dimen/social_logo"
62+
android:layout_below="@+id/about_follow_us"
63+
android:layout_marginLeft="@dimen/social_padding"
64+
android:layout_toRightOf="@+id/about_facebook"
65+
android:src="@mipmap/gplus"/>
66+
5867
<TextView
5968
android:id="@+id/about_version"
6069
android:layout_width="match_parent"
2.53 KB
Loading
1.58 KB
Loading
3.1 KB
Loading
5.54 KB
Loading
6.22 KB
Loading

0 commit comments

Comments
 (0)