Skip to content

Instantly share code, notes, and snippets.

@NitinPraksash9911
Last active May 1, 2020 17:10
Show Gist options
  • Save NitinPraksash9911/a82e43a9e670443773c533203104c068 to your computer and use it in GitHub Desktop.
Save NitinPraksash9911/a82e43a9e670443773c533203104c068 to your computer and use it in GitHub Desktop.
Attributes table for floating button
Name Values
app:loaderBackgroundColor to change the FloatingLoaderButton background color & by default background color is black
app:loaderFabSize to change the size of FloatingLoaderButton & it's available in three sizes `Medium` `Small` & `Large` choose one from these
app:loadingIconColor to change the arrow-icon color & by default arow-icon color is white
app:loadingStatus use to define the state of loader & it has three states 1. `None` for initial stage when doing nothing2. `Loading` to start circular loading 3. `Finish` to stop circular loading(recommended to use None in xml and set the loader state programmatically) and you can use these states to change the loader state in xml when using data binding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment