enum class FabSize
The legal sizes of ExpandableFabs and FabOptions.
FabSize.MINI, FabSize.NORMAL and FabSize.AUTO map to FloatingActionButton.SIZE_MINI, FloatingActionButton.SIZE_NORMAL and FloatingActionButton.SIZE_AUTO, respectively. FabSize.CUSTOM should be used when setting the size of the ExpandableFab or FabOption's layout_width and layout_height to a custom value manually, and thus maps to a random value that will never be used.
Developer Notes:
Example:
<com.nambimobile.widgets.efab.ExpandableFab android:id="@+id/expandable_fab" android:layout_width="175dp" android:layout_height="175dp" app:efab_size="custom" app:efab_fabOptionSize="custom" app:efab_icon="@drawable/ic_random11_white_84dp" app:fabCustomSize="175dp" app:maxImageSize="84dp" />
Since
1.0.0
MINI |
|
NORMAL |
|
AUTO |
|
CUSTOM |
value |
val value: Int |