java.lang.Object | |
↳ | android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef |
Definition of an alignment position under a view.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns Id of which child view take focus for alignment.
| |||||||||||
Gets number of pixels to offset.
| |||||||||||
Gets the offset percent for item alignment in addition to offset.
| |||||||||||
Gets Id of which child view to be aligned.
| |||||||||||
When it is true: we include left/top padding for positive item offset, include
right/bottom padding for negative item offset.
| |||||||||||
Sets Id of which child view take focus for alignment.
| |||||||||||
Sets number of pixels to offset.
| |||||||||||
Sets the offset percent for item alignment in addition to offset.
| |||||||||||
Sets whether to include left/top padding for positive item offset, include
right/bottom padding for negative item offset.
| |||||||||||
Sets Id of which child view to be aligned.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns Id of which child view take focus for alignment. When not set, it will use
use same id of getItemAlignmentViewId()
Gets number of pixels to offset. Can be negative for alignment from the high edge, or positive for alignment from the low edge.
Gets the offset percent for item alignment in addition to offset. E.g., 40
means 40% of the width from the low edge. Use ITEM_ALIGN_OFFSET_PERCENT_DISABLED
to disable.
Gets Id of which child view to be aligned. View.NO_ID refers to root view and should be only used in first one. Extra ItemAlignmentDefs should provide view id to match currently focused view.
When it is true: we include left/top padding for positive item offset, include right/bottom padding for negative item offset.
Sets Id of which child view take focus for alignment. When not set, it will use
use same id of getItemAlignmentViewId()
Sets number of pixels to offset. Can be negative for alignment from the high edge, or positive for alignment from the low edge.
Sets the offset percent for item alignment in addition to offset. E.g., 40
means 40% of the width from the low edge. Use ITEM_ALIGN_OFFSET_PERCENT_DISABLED
to disable.
Sets whether to include left/top padding for positive item offset, include right/bottom padding for negative item offset.
Sets Id of which child view to be aligned. View.NO_ID refers to root view and should be only used in first one. Extra ItemAlignmentDefs should provide view id to match currently focused view.