Adding a Google +1 button in Android App
With the Google+ platform for Android, you are now able to integrate a native +1 button in your Android app. 1) You first need to initialize the PlusClient object in your Activity. 2) Include the PlusOneButton in your layout: <com.google.android.gms.plus.PlusOneButton xmlns:plus=”http://schemas.android.com/apk/lib/com.google.android.gms.plus” android:id=”@+id/plus_one_button” android:layout_width=”wrap_content” android:layout_height=”wrap_content” plus:size=”standard” plus:annotation=”inline” /> 3) Assign the PlusOneButton to a member variable … Read more