setInitialActivityHeightPx
fun CustomTabsIntent.Builder.setInitialActivityHeightPx(@Dimension(unit = 1) initialHeightPx: Int, activityHeightResizeBehavior: ActivityHeightResizeBehavior): CustomTabsIntent.Builder(source)
Sets the Custom Tab Activity's initial height in pixels and the desired resize behavior. The Custom Tab will behave as a bottom sheet.
This method allows for an ActivityHeightResizeBehavior enum to be specified for activityHeightResizeBehavior.
Since
0.0.1
Parameters
initialHeightPx
The Custom Tab Activity's initial height in pixels.
activityHeightResizeBehavior
Desired height behavior.