Google+ APIs will be shut down on March 7, 2019. This includes Google+ Sign-in and OAuth requests for Google+ scopes. Learn more.

Google+ integrations for web and mobile apps will also cease to function March 7, 2019. Learn more.

This will be a progressive shutdown, with intermittent failures starting as early as January 28, 2019.

Recommend content with the +1 button

+1 annotations from your users can help their social connections find your site or app and can influence search positioning. Learn more about how Google uses social connections in search.

Add the native +1 button (PlusOneButton) to your app and configure the button to recommend rich content from your app. Your content must have a corresponding URL.

  1. Include the PlusOneButton in your layout:

      plus:annotation="inline" />
  2. Assign the PlusOneButton to a member variable in your Activity.onCreate handler.

    mPlusOneButton = (PlusOneButton) findViewById(;
  3. Refresh the PlusOneButton's state each time the activity receives focus in your Activity.onResume handler.

    // The request code must be 0 or greater.
    private static final int PLUS_ONE_REQUEST_CODE = 0;
    protected void onResume() {
        // Refresh the state of the +1 button each time the activity receives focus.
        mPlusOneButton.initialize(URL, PLUS_ONE_REQUEST_CODE);

Use of the +1 Button is subject to the Google+ Platform Buttons Policy

Send feedback about...

Google+ Platform for Android
Google+ Platform for Android