Class FloatingButtonSettings.Builder
-
- All Implemented Interfaces:
public final class FloatingButtonSettings.Builder
-
-
Constructor Summary
Constructors Constructor Description FloatingButtonSettings.Builder()
-
Method Summary
Modifier and Type Method Description final FloatingButtonSettings.Builderheight(Integer height)Sets the height of the floating button. final FloatingButtonSettings.Builderwidth(Integer width)Sets the width in of the floating button. final FloatingButtonSettings.BuildercornerRadius(Float cornerRadius)Sets the corner radius of the floating button. final FloatingButtonSettings.BuilderinitialGraphic(Bitmap initialGraphic)Sets the initial graphic to be displayed on the floating button. final FloatingButtonSettingsbuild()-
-
Method Detail
-
height
final FloatingButtonSettings.Builder height(Integer height)
Sets the height of the floating button.
- Parameters:
height- height of the button in dp
-
width
final FloatingButtonSettings.Builder width(Integer width)
Sets the width in of the floating button.
- Parameters:
width- width of the button in dp
-
cornerRadius
final FloatingButtonSettings.Builder cornerRadius(Float cornerRadius)
Sets the corner radius of the floating button.
- Parameters:
cornerRadius- corner radius of the button in dp
-
initialGraphic
final FloatingButtonSettings.Builder initialGraphic(Bitmap initialGraphic)
Sets the initial graphic to be displayed on the floating button.
- Parameters:
initialGraphic- initial graphic to be displayed on the button
-
build
final FloatingButtonSettings build()
-
-
-
-