Skip to content

Commit 8705269

Browse files
committed
adding Google Plus in About section
1 parent 2812345 commit 8705269

7 files changed

Lines changed: 15 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,10 @@ public void facebookClicked() {
9393
}
9494
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(link)));
9595
}
96+
97+
@OnClick(R.id.about_gplus)
98+
public void googlePlusClicked() {
99+
final String link = "https://plus.google.com/communities/104880861558693868382";
100+
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(link)));
101+
}
96102
}

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)