| java.lang.Object | ||
| ↳ | android.view.ViewGroup.LayoutParams | |
| ↳ | com.pspdfkit.ui.toolbar.ToolbarCoordinatorLayout.LayoutParams | |
Layout parameters for ContextualToolbars added to ToolbarCoordinatorLayout.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | ToolbarCoordinatorLayout.LayoutParams.Position | Possible toolbar positions on the screen. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final ToolbarCoordinatorLayout.LayoutParams.Position | DEFAULT_POSITION | ||||||||||
| public EnumSet<ToolbarCoordinatorLayout.LayoutParams.Position> | allowedPositions | Allowed positions for pinning the toolbar to the sides when dragging. | |||||||||
| public ToolbarCoordinatorLayout.LayoutParams.Position | forcedPosition | Position currently forced on the layout due to the lack of space (if any). | |||||||||
| public ToolbarCoordinatorLayout.LayoutParams.Position | position | Position of the toolbar in the coordinator layout. | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
LayoutParams(ToolbarCoordinatorLayout.LayoutParams.Position position, EnumSet<ToolbarCoordinatorLayout.LayoutParams.Position> allowedPositions)
Creates layout parameters for adding view to the
ContextualToolbar. | |||||||||||
|
LayoutParams(ToolbarCoordinatorLayout.LayoutParams.Position position)
Creates layout parameters for adding view to the
ContextualToolbar. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
From class
java.lang.Object
| |||||||||||
Allowed positions for pinning the toolbar to the sides when dragging.
Position currently forced on the layout due to the lack of space (if any).
Position of the toolbar in the coordinator layout.
Creates layout parameters for adding view to the ContextualToolbar.
| position | Position for the toolbar to be set. If this position is not part of the allowedPositions it will be set to one
of those, or force changed to some other position in order to fit the screen. This will usually happen if there's not enough
room on the sides of the screen, so the toolbar will be force pinned to the top. |
|---|---|
| allowedPositions | Allowed positions for the toolbar. Also visible when dragging the toolbar in possible positions indicators. |
Creates layout parameters for adding view to the ContextualToolbar.
| position | Position for the toolbar to be set. If this position is not part of the allowedPositions it will be set to one of those,
or force changed to some other position in order to fit the screen. This will usually happen if there's not enough room on the sides
of the screen, so the toolbar will be force pinned to the top.
|
|---|