java.lang.Object | |
↳ | com.google.android.gms.wallet.fragment.WalletFragmentOptions.Builder |
Builder for building WalletFragmentOptions
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the Google Wallet environment to use.
| |||||||||||
Sets a set of attributes to customize the look and feel of the UI components of a
WalletFragment . | |||||||||||
Sets a set of attributes to customize the look and feel of the UI components of a
WalletFragment . | |||||||||||
Sets the mode of the wallet fragment.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Sets the Google Wallet environment to use. Specify
ENVIRONMENT_SANDBOX
until you have applied for and been granted
access to the Production environment.
Defaults to ENVIRONMENT_SANDBOX
.
Sets a set of attributes to customize the look and feel of the UI components of a
WalletFragment
.
If not set explicitly the default style
WalletFragmentDefaultStyle
will be used.
In most cases you will need to customize the style of the wallet fragment so that
the UI of the fragment better matches the UI of the application.
styleResourceId | id of a style resource that defines the attributes. See
WalletFragmentStyle for a list of
attributes available |
---|
Sets a set of attributes to customize the look and feel of the UI components of a
WalletFragment
.
Sets the mode of the wallet fragment.
Supported modes are defined by WalletFragmentMode
.
Defaults to BUY_BUTTON
.
Sets a theme for the Wallet selector on Android OS with
SDK_INT
>= HONEYCOMB
. The only legitimate values are
THEME_HOLO_DARK
and THEME_HOLO_LIGHT
as those are the only supported themes. User-created themes are not supported.
Value ignored for Android OS with SDK_INT
< HONEYCOMB
. Defaults to
THEME_HOLO_DARK
.