lib
Toggle table of contents
1.14.0+1.0.47-sesl9+rev13
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
lib
lib
/
com.google.android.material.navigation.strategy
/
ViewTypeStrategy
View
Type
Strategy
abstract
class
ViewTypeStrategy
Inheritors
IconLabelType
IconOnlyType
LabelOnlyType
Members
Types
Floating
Icon
Label
Type
Link copied to clipboard
open
class
FloatingIconLabelType
:
ViewTypeStrategy.IconLabelType
Floating
Icon
Only
Type
Link copied to clipboard
class
FloatingIconOnlyType
:
ViewTypeStrategy.IconOnlyType
Icon
Label
Type
Link copied to clipboard
open
class
IconLabelType
:
ViewTypeStrategy
Icon
Only
Type
Link copied to clipboard
open
class
IconOnlyType
:
ViewTypeStrategy
Label
Only
Type
Link copied to clipboard
class
LabelOnlyType
:
ViewTypeStrategy
Properties
horizontal
Padding
Res
Link copied to clipboard
abstract
val
horizontalPaddingRes
:
Int
is
Floating
Style
Link copied to clipboard
open
val
isFloatingStyle
:
Boolean
item
Separator
Margin
Res
Link copied to clipboard
open
val
itemSeparatorMarginRes
:
Int
item
Separator
Padding
Res
Link copied to clipboard
open
val
itemSeparatorPaddingRes
:
Int
min
Height
Res
Link copied to clipboard
abstract
val
minHeightRes
:
Int
selected
Side
Padding
Res
Link copied to clipboard
open
val
selectedSidePaddingRes
:
Int
Functions
apply
Navigation
Bar
Style
Link copied to clipboard
open
fun
applyNavigationBarStyle
(
navigationBarView
:
NavigationBarView
)
get
Dimension
Pixel
Size
Link copied to clipboard
fun
getDimensionPixelSize
(
resources
:
Resources
,
res
:
Int
)
:
Int
get
Item
Min
Width
Link copied to clipboard
open
fun
getItemMinWidth
(
resources
:
Resources
,
visibleCount
:
Int
)
:
Int
get
Item
Separator
Margin
Link copied to clipboard
open
fun
getItemSeparatorMargin
(
resources
:
Resources
,
isMaxCount
:
Boolean
)
:
Int
get
Item
Separator
Padding
Link copied to clipboard
open
fun
getItemSeparatorPadding
(
resources
:
Resources
,
isMaxCount
:
Boolean
)
:
Int
get
Selected
Side
Padding
Link copied to clipboard
fun
getSelectedSidePadding
(
resources
:
Resources
)
:
Int
get
Small
Screen
Outer
Padding
Link copied to clipboard
open
fun
getSmallScreenOuterPadding
(
resources
:
Resources
,
visibleCount
:
Int
)
:
Int
update
Navigation
Bar
Padding
Link copied to clipboard
open
fun
updateNavigationBarPadding
(
navigationBarView
:
NavigationBarView
)