Releases: leinardi/FloatingActionButtonSpeedDial
Releases · leinardi/FloatingActionButtonSpeedDial
2.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)
1.0.2
1.0.1
1.0.0
1.0-alpha06
This will hopefully be the last alpha release, my goal is to not have any more incompatible API change without changing also the major version number.
- 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
1.0-alpha05
- 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.setMainFabOpenBackgroundColor
andSpeedDialView.setMainFabCloseBackgroundColor
- 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
1.0-alpha04
- 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
tosdMainFabOpenSrc
- renamed attributes
sdFabCloseSrc
tosdMainFabCloseSrc
- removed attributes
sdFabRotateOnToggle
- added attributes
sdMainFabCloseRotateAngle
- renamed
- minor fixes
1.0-alpha03
- fixed #4: FAB icons rotate only once
- renamed attribute close_src to sdFabCloseSrc
- added attributes
sdFabRotateOnToggle
andsdExpansionMode
- fixed various minor UI issues
1.0-alpha02
First public alpha release