library / com.nambimobile.widgets.efab / ExpandableFabLayout / addView

addView

fun addView(child: View?, index: Int, params: LayoutParams?): Unit

Adds a child view with the specified layout parameters to the ExpandableFabLayout.

In general, only Overlay, ExpandableFab, FabOption, and specific Material Design views (like Snackbar and BottomAppBar) should be added as children of the ExpandableFabLayout.

While this library won't stop you from adding in other types as direct children to the ExpandableFabLayout, please know adding other View types may cause visual issues.