XML attributes |
LeanbackGuidedStepTheme_guidanceBreadcrumbStyle |
|
LeanbackGuidedStepTheme_guidanceContainerStyle |
|
LeanbackGuidedStepTheme_guidanceDescriptionStyle |
|
LeanbackGuidedStepTheme_guidanceIconStyle |
|
LeanbackGuidedStepTheme_guidanceTitleStyle |
|
LeanbackGuidedStepTheme_guidedStepImeAppearingAnimation |
|
LeanbackGuidedStepTheme_guidedStepImeDisappearingAnimation |
|
Inherited methods |
From
class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From
interface
android.support.v17.leanback.widget.FragmentAnimationProvider
|
XML attributes
LeanbackGuidedStepTheme_guidanceBreadcrumbStyle
LeanbackGuidedStepTheme_guidanceContainerStyle
LeanbackGuidedStepTheme_guidanceDescriptionStyle
LeanbackGuidedStepTheme_guidanceIconStyle
LeanbackGuidedStepTheme_guidanceTitleStyle
LeanbackGuidedStepTheme_guidedStepImeAppearingAnimation
LeanbackGuidedStepTheme_guidedStepImeDisappearingAnimation
Public constructors
GuidanceStylist
GuidanceStylist ()
Public methods
getBreadcrumbView
TextView getBreadcrumbView ()
Returns the view displaying the breadcrumb of the guidance.
Returns |
TextView |
The text view object for the breadcrumb.
|
getDescriptionView
TextView getDescriptionView ()
Returns the view displaying the description of the guidance.
Returns |
TextView |
The text view object for the description.
|
getIconView
ImageView getIconView ()
Returns the view displaying the icon of the guidance.
Returns |
ImageView |
The image view object for the icon.
|
getTitleView
TextView getTitleView ()
Returns the view displaying the title of the guidance.
Returns |
TextView |
The text view object for the title.
|
onCreateView
View onCreateView (LayoutInflater inflater,
ViewGroup container,
GuidanceStylist.Guidance guidance)
Creates an appropriately configured view for the given Guidance, using the provided
inflater and container.
Note: Does not actually add the created view to the container; the caller should do
this.
Parameters |
inflater |
LayoutInflater : The layout inflater to be used when constructing the view. |
container |
ViewGroup : The view group to be passed in the call to
LayoutInflater.inflate . |
guidance |
GuidanceStylist.Guidance : The guidance data for the view. |
Returns |
View |
The view to be added to the caller's view hierarchy.
|
onDestroyView
void onDestroyView ()
Called when destroy the View created by GuidanceStylist.
onImeAppearing
void onImeAppearing (List<Animator> animators)
Animates the fragment in response to the IME appearing.
Parameters |
animators |
List : A list of animations to which this provider's animations should be added.
|
onImeDisappearing
void onImeDisappearing (List<Animator> animators)
Animates the fragment in response to the IME disappearing.
Parameters |
animators |
List : A list of animations to which this provider's animations should be added.
|
onProvideLayoutId
int onProvideLayoutId ()
Provides the resource ID of the layout defining the guidance view. Subclasses may override
to provide their own customized layouts. The base implementation returns
lb_guidance
. If overridden, the substituted
layout should contain matching IDs for any views that should be managed by the base class;
this can be achieved by starting with a copy of the base layout file.
Returns |
int |
The resource ID of the layout to be inflated to define the guidance view.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."],[],[]]