java.lang.Object | ||
↳ | ||
↳ | com.pdftron.pdf.utils.PaneBehavior |
A Coordinator layout behavior that adjusts child view size based on screen size and device configuration.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PaneBehavior() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static PaneBehavior |
from(View view)
A utility function to get the
PaneBehavior associated with the view . | ||||||||||
static int |
getGravityForOrientation(Context context, int orientation)
Gets gravity for orientation
| ||||||||||
boolean | onMeasureChild(CoordinatorLayout parent, View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) | ||||||||||
void |
onOrientationChanged(View child, int orientation)
The method is invoked when there is orientation changed
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
A utility function to get the PaneBehavior
associated with the view
.
view | The View with PaneBehavior . |
---|
PaneBehavior
associated with the view
.
Gets gravity for orientation
context | The context |
---|---|
orientation | The orientation |
The method is invoked when there is orientation changed
child | child view |
---|---|
orientation | orientation |