Package com.pspdfkit.ui.toolbar
Class ToolbarCoordinatorLayout.LayoutParams
-
- All Implemented Interfaces:
public class ToolbarCoordinatorLayout.LayoutParams extends ViewGroup.LayoutParams
Layout parameters for ContextualToolbars added to ToolbarCoordinatorLayout.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ToolbarCoordinatorLayout.LayoutParams.Position
Possible toolbar positions on the screen.
-
Field Summary
Fields Modifier and Type Field Description public final static ToolbarCoordinatorLayout.LayoutParams.Position
DEFAULT_POSITION
public ToolbarCoordinatorLayout.LayoutParams.Position
position
public ToolbarCoordinatorLayout.LayoutParams.Position
forcedPosition
public EnumSet<ToolbarCoordinatorLayout.LayoutParams.Position>
allowedPositions
-
Constructor Summary
Constructors Constructor Description ToolbarCoordinatorLayout.LayoutParams(ToolbarCoordinatorLayout.LayoutParams.Position position, EnumSet<ToolbarCoordinatorLayout.LayoutParams.Position> allowedPositions)
Creates layout parameters for adding view to the ContextualToolbar. ToolbarCoordinatorLayout.LayoutParams(ToolbarCoordinatorLayout.LayoutParams.Position position)
Creates layout parameters for adding view to the ContextualToolbar.
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
ToolbarCoordinatorLayout.LayoutParams
ToolbarCoordinatorLayout.LayoutParams(ToolbarCoordinatorLayout.LayoutParams.Position position, EnumSet<ToolbarCoordinatorLayout.LayoutParams.Position> allowedPositions)
Creates layout parameters for adding view to the ContextualToolbar.- Parameters:
position
- Position for the toolbar to be set.allowedPositions
- Allowed positions for the toolbar.
-
ToolbarCoordinatorLayout.LayoutParams
ToolbarCoordinatorLayout.LayoutParams(ToolbarCoordinatorLayout.LayoutParams.Position position)
Creates layout parameters for adding view to the ContextualToolbar.- Parameters:
position
- Position for the toolbar to be set.
-
-
-
-