- Fix #11: Re-enabling FAB size
- Revert
com.google.android.material
to1.0.0
(version1.1.0-beta01
can still be used, just specify this version explicitly on your build.gradle file).
- fixed #113: Main FAB opened image is not centered when using Theme.MaterialComponents
- fixed #101: Add ability to Disable Main Fab
- API changes:
- fixed #111: added option to tint Main FAB icon (
setMainFabClosedIconColor()
andsetMainFabOpenedIconColor()
)
- fixed #111: added option to tint Main FAB icon (
- migrated Sample project to Kotlin
- fixed #92: Migrate to AndroidX
- fixed #100: Use unique view IDs
- fixed #109: Added resource ID for main FAB
- updated gradle and Android gradle plugin
- fixed #95: support 28 workaround does not work on minified release apk
- updated support library to v28.0.0
- workaround for https://issuetracker.google.com/issues/111316656 <- PLEASE STAR THIS ISSUE
- fixed #79: Does not change label text language when app language is changed dynamically
- fixed #88: Speed Dial should not open if empty
- API changes:
- added support to String resources for labels
SpeedDialActionItem.getLabel()
now requires aContext
- added
SpeedDialActionItem.Builder()
constructor that accepts aSpeedDialActionItem
to be used for default values (useful to modify an existing Action Item without replacing it completely) - added
SpeedDialActionItem.createFabWithLabelView()
- all the
SpeedDialView
add and replace methods now return an instance of theFabWithLabelView
they create (useful to modify an existing Action Item without replacing it completely) - added
FabWithLabelView.getSpeedDialActionItemBuilder()
(useful to modify an existing Action Item without replacing it completely)
- fixed #65: Main FAB not centered when using RTL
- fixed #71: Animation feels slower than Google Inbox
- fixed #72: FAB vertical padding should be 16dp instead of 18dp
- fixed #62: Click between Label and FAB handled as a dismiss action
- fixed #60: Label transparent background not being applied
- first stable release (no changes from 1.0-alpha06)
- updated gradle plugin to 3.1.2
- several API changes:
- added
sdOverlayLayout
attribute - added
SpeedDialView.setUseReverseAnimationOnClose()
andSpeedDialView.getUseReverseAnimationOnClose()
(thanks to @jahirfiquitiva) - renamed
SpeedDialView.getMainFabCloseRotateAngle()
toSpeedDialView.getMainFabAnimationRotateAngle()
- renamed
SpeedDialView.setMainFabCloseRotateAngle()
toSpeedDialView.setMainFabAnimationRotateAngle()
- renamed
SpeedDialView.setMainFabOpenDrawable()
toSpeedDialView.setMainFabClosedDrawable()
- renamed
SpeedDialView.setMainFabCloseDrawable()
toSpeedDialView.setMainFabOpenedDrawable()
- renamed
SpeedDialView.getMainFabOpenBackgroundColor()
toSpeedDialView.getMainFabClosedBackgroundColor()
- renamed
SpeedDialView.setMainFabOpenBackgroundColor()
toSpeedDialView.setMainFabClosedBackgroundColor()
- renamed
SpeedDialView.getMainFabCloseBackgroundColor()
toSpeedDialView.getMainFabOpenedBackgroundColor()
- renamed
SpeedDialView.setMainFabCloseBackgroundColor()
toSpeedDialView.setMainFabOpenedBackgroundColor()
- renamed
sdMainFabOpenSrc
tosdMainFabClosedSrc
- renamed
sdMainFabOpenBackgroundColor
tosdMainFabClosedBackgroundColor
- renamed
sdMainFabCloseSrc
tosdMainFabOpenedSrc
- renamed
sdMainFabCloseBackgroundColor
tosdMainFabOpenedBackgroundColor
- renamed
sdMainFabCloseRotateAngle
tosdMainFabAnimationRotateAngle
- added
- added Menu Resource support (no color customization possible)
Drawable
s are not parcelables so is not possible to restore them when the view is recreated for example after an orientation change. If possible always use theDrawableRes
.- fixed Expansion mode and rotate angle not persisted on orientation change
- fixed inverted behavior for
SpeedDialView.setMainFabClosedBackgroundColor
andSpeedDialView.setMainFabOpenedBackgroundColor
- added
SpeedDialView.getActionItems()
- added
SpeedDialView.getMainFab()
SpeedDialView.OnChangeListener.onMainActionSelected()
now returns true to keep the Speed Dial open, false to close it- optional no animation for open/close/toggle
- android support library 27.1.1
- lowered minSdk from 15 to 14
- several API changes:
- renamed
FabWithLabelView.setOptionFabSelectedListener()
toFabWithLabelView.setOnActionSelectedListener()
- renamed
FabWithLabelView.isLabelEnable()
toFabWithLabelView.isLabelEnabled()
- added
SpeedDialActionItem.Builder(@IdRes int id, @Nullable Drawable d)
- added
SpeedDialView.setOnChangeListener(OnChangeListener l)
- removed
SpeedDialView.setMainFabOnClickListener(OnClickListener l)
- renamed
OnOptionFabSelectedListener
toOnActionSelectedListener
- renamed
SpeedDialView.setOptionFabSelectedListener()
toSpeedDialView.setOnActionSelectedListener()
- renamed
SpeedDialView.addAllFabOptionItem()
toSpeedDialView.addAllActionItems()
- renamed
SpeedDialView.addFabOptionItem()
toSpeedDialView.addActionItem()
- renamed
SpeedDialView.replaceFabOptionItem()
toSpeedDialView.replaceActionItem()
- renamed
SpeedDialView.removeFabOptionItemById()
toSpeedDialView.removeActionItemById()
- renamed
SpeedDialView.removeFabOptionItem()
toSpeedDialView.removeActionItem()
- renamed
SpeedDialView.isFabMenuOpen()
toSpeedDialView.isOpen()
- renamed
SpeedDialView.closeOptionsMenu()
toSpeedDialView.close()
- renamed
SpeedDialView.openOptionsMenu()
toSpeedDialView.open()
- renamed
SpeedDialView.toggleOptionsMenu()
toSpeedDialView.toggle()
- removed attributes
android:src
- renamed attributes
srcCompat
tosdMainFabClosedSrc
- renamed attributes
sdFabOpenedSrc
tosdMainFabOpenedSrc
- removed attributes
sdFabRotateOnToggle
- added attributes
sdMainFabAnimationRotateAngle
- renamed
- minor fixes
- fixed #4: FAB icons rotate only once
- renamed attribute close_src to sdFabOpenedSrc
- added attributes
sdFabRotateOnToggle
andsdExpansionMode
- fixed various minor UI issues
- first public release