public final class SkinManager extends BaseUIManager
Modifier and Type | Class and Description |
---|---|
static class |
SkinManager.Skin |
static class |
SkinManager.Tint |
UIManager.UIManagerListener
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SkinManager> |
CREATOR |
listener, THEME_ID_NOT_SET
Constructor and Description |
---|
SkinManager(SkinManager.Skin skin,
int primaryColor) |
SkinManager(SkinManager.Skin skin,
int primaryColor,
int backgroundImage,
SkinManager.Tint tint,
double tintIntensity) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
android.app.Fragment |
getBodyFragment(LoginFlowState state)
Returns a custom fragment for the body in the middle of the scrollable container.
|
ButtonType |
getButtonType(LoginFlowState state)
Returns the button type for the given login state.
|
android.app.Fragment |
getFooterFragment(LoginFlowState state)
Returns a custom fragment for the bottom of the content in the scrollable container.
|
android.app.Fragment |
getHeaderFragment(LoginFlowState state)
Returns a custom fragment for the top of the content in the scrollable container.
|
int |
getPrimaryColor() |
SkinManager.Skin |
getSkin() |
TextPosition |
getTextPosition(LoginFlowState state)
Returns the position of the text relative to the content body fragment.
|
SkinManager.Tint |
getTint() |
double |
getTintIntensity() |
boolean |
hasBackgroundImage() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getThemeId, onError, setThemeId, setUIManagerListener, updateFlowState
public static final android.os.Parcelable.Creator<SkinManager> CREATOR
public SkinManager(SkinManager.Skin skin, int primaryColor, @DrawableRes int backgroundImage, SkinManager.Tint tint, double tintIntensity)
public SkinManager(SkinManager.Skin skin, int primaryColor)
public SkinManager.Skin getSkin()
public boolean hasBackgroundImage()
public SkinManager.Tint getTint()
public double getTintIntensity()
public int getPrimaryColor()
@Nullable public android.app.Fragment getBodyFragment(LoginFlowState state)
getBodyFragment
in class BaseUIManager
state
- the current state of the login flow@Nullable public ButtonType getButtonType(LoginFlowState state)
getButtonType
in class BaseUIManager
state
- the current state of the login flow@Nullable public android.app.Fragment getFooterFragment(LoginFlowState state)
getFooterFragment
in class BaseUIManager
state
- the current state of the login flow@Nullable public android.app.Fragment getHeaderFragment(LoginFlowState state)
getHeaderFragment
in class BaseUIManager
state
- the current state of the login flow@Nullable public TextPosition getTextPosition(LoginFlowState state)
getTextPosition
in class BaseUIManager
state
- the current state of the login flowpublic int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class BaseUIManager
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class BaseUIManager