- fixed #159: Publish latest version to Maven Central, now that JCenter will be sunset
- fixed #149: Accessibility issues:
- the closest Action Item to the Main FAB is now focused
- it is possible to navigate the open menu using
FOCUS_UPandFOCUS_DOWN - it is possible to set content descriptions for all the FABs
- updated several dependencies
- fixed #11: Re-enabling FAB size
- Revert
com.google.android.materialto1.0.0(version1.1.0-beta01can 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 aSpeedDialActionItemto be used for default values (useful to modify an existing Action Item without replacing it completely) - added
SpeedDialActionItem.createFabWithLabelView() - all the
SpeedDialViewadd and replace methods now return an instance of theFabWithLabelViewthey 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
sdOverlayLayoutattribute - 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
sdMainFabOpenSrctosdMainFabClosedSrc - renamed
sdMainFabOpenBackgroundColortosdMainFabClosedBackgroundColor - renamed
sdMainFabCloseSrctosdMainFabOpenedSrc - renamed
sdMainFabCloseBackgroundColortosdMainFabOpenedBackgroundColor - renamed
sdMainFabCloseRotateAngletosdMainFabAnimationRotateAngle
- added
- added Menu Resource support (no color customization possible)
Drawables 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.setMainFabClosedBackgroundColorandSpeedDialView.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
OnOptionFabSelectedListenertoOnActionSelectedListener - 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
srcCompattosdMainFabClosedSrc - renamed attributes
sdFabOpenedSrctosdMainFabOpenedSrc - removed attributes
sdFabRotateOnToggle - added attributes
sdMainFabAnimationRotateAngle
- renamed
- minor fixes
- fixed #4: FAB icons rotate only once
- renamed attribute close_src to sdFabOpenedSrc
- added attributes
sdFabRotateOnToggleandsdExpansionMode - fixed various minor UI issues
- first public release