public final class

PlusSignInButton

extends ImageView
java.lang.Object
   ↳ android.view.View
     ↳ android.widget.ImageView
       ↳ com.google.android.gms.plus.PlusSignInButton

Class Overview

The Google+ sign-in button to authenticate the user.

Summary

Constants
int BUTTON_SIZE_STANDARD The standard size of the Google+ sign-in button.
int BUTTON_SIZE_WIDE The wide size of the Google+ sign-in button.
[Expand]
Inherited Constants
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
PlusSignInButton(Context context)
Creates a Google+ sign-in button with standard size.
PlusSignInButton(Context context, AttributeSet attrs)
Creates a Google+ sign-in button with standard size.
Public Methods
void setSize(int buttonSize)
Sets the button size to standard or wide.
[Expand]
Inherited Methods
From class android.widget.ImageView
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource

Constants

public static final int BUTTON_SIZE_STANDARD

The standard size of the Google+ sign-in button.

Constant Value: 0 (0x00000000)

public static final int BUTTON_SIZE_WIDE

The wide size of the Google+ sign-in button.

Constant Value: 1 (0x00000001)

Public Constructors

public PlusSignInButton (Context context)

Creates a Google+ sign-in button with standard size.

Parameters
context The context.

public PlusSignInButton (Context context, AttributeSet attrs)

Creates a Google+ sign-in button with standard size.

Parameters
context The context.
attrs The attributes of the XML tag that is inflating the view.

Public Methods

public void setSize (int buttonSize)

Sets the button size to standard or wide.

Parameters
buttonSize The button size. See BUTTON_SIZE_STANDARD and BUTTON_SIZE_WIDE.