Skip to content

Releases: leinardi/FloatingActionButtonSpeedDial

2.0.0

23 Sep 16:50
2.0.0
d791191
Compare
Choose a tag to compare
  • 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 a Context
    • added SpeedDialActionItem.Builder() constructor that accepts a SpeedDialActionItem 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 the FabWithLabelView 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

30 Jun 10:26
1.0.2
2357ac8
Compare
Choose a tag to compare
  • 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

1.0.1

16 Jun 12:18
1.0.1
6ab2be5
Compare
Choose a tag to compare
  • fixed #62: Click between Label and FAB handled as a dismiss action
  • fixed #60: Label transparent background not being applied

1.0.0

03 Jun 20:05
1.0.0
a28a551
Compare
Choose a tag to compare
  • first stable release (no changes from 1.0-alpha06)

1.0-alpha06

12 May 09:57
1.0-alpha06
c91a2b9
Compare
Choose a tag to compare
1.0-alpha06 Pre-release
Pre-release

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() and SpeedDialView.getUseReverseAnimationOnClose() (thanks to @jahirfiquitiva)
    • renamed SpeedDialView.getMainFabCloseRotateAngle() to SpeedDialView.getMainFabAnimationRotateAngle()
    • renamed SpeedDialView.setMainFabCloseRotateAngle() to SpeedDialView.setMainFabAnimationRotateAngle()
    • renamed SpeedDialView.setMainFabOpenDrawable() to SpeedDialView.setMainFabClosedDrawable()
    • renamed SpeedDialView.setMainFabCloseDrawable() to SpeedDialView.setMainFabOpenedDrawable()
    • renamed SpeedDialView.getMainFabOpenBackgroundColor() to SpeedDialView.getMainFabClosedBackgroundColor()
    • renamed SpeedDialView.setMainFabOpenBackgroundColor() to SpeedDialView.setMainFabClosedBackgroundColor()
    • renamed SpeedDialView.getMainFabCloseBackgroundColor() to SpeedDialView.getMainFabOpenedBackgroundColor()
    • renamed SpeedDialView.setMainFabCloseBackgroundColor() to SpeedDialView.setMainFabOpenedBackgroundColor()
    • renamed sdMainFabOpenSrc to sdMainFabClosedSrc
    • renamed sdMainFabOpenBackgroundColor to sdMainFabClosedBackgroundColor
    • renamed sdMainFabCloseSrc to sdMainFabOpenedSrc
    • renamed sdMainFabCloseBackgroundColor to sdMainFabOpenedBackgroundColor
    • renamed sdMainFabCloseRotateAngle to sdMainFabAnimationRotateAngle

1.0-alpha05

17 Apr 20:05
1.0-alpha05
898eae8
Compare
Choose a tag to compare
1.0-alpha05 Pre-release
Pre-release
  • 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 the DrawableRes.
  • Fixed Expansion mode and rotate angle not persisted on orientation change
  • Fixed inverted behavior for SpeedDialView.setMainFabOpenBackgroundColor
    and SpeedDialView.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

14 Apr 13:21
1.0-alpha04
76cd5bd
Compare
Choose a tag to compare
1.0-alpha04 Pre-release
Pre-release
  • android support library 27.1.1
  • lowered minSdk from 15 to 14
  • several API changes:
    • renamed FabWithLabelView.setOptionFabSelectedListener() to FabWithLabelView.setOnActionSelectedListener()
    • renamed FabWithLabelView.isLabelEnable() to FabWithLabelView.isLabelEnabled()
    • added SpeedDialActionItem.Builder(@IdRes int id, @Nullable Drawable d)
    • added SpeedDialView.setOnChangeListener(OnChangeListener l)
    • removed SpeedDialView.setMainFabOnClickListener(OnClickListener l)
    • renamed OnOptionFabSelectedListener to OnActionSelectedListener
    • renamed SpeedDialView.setOptionFabSelectedListener() to SpeedDialView.setOnActionSelectedListener()
    • renamed SpeedDialView.addAllFabOptionItem() to SpeedDialView.addAllActionItems()
    • renamed SpeedDialView.addFabOptionItem() to SpeedDialView.addActionItem()
    • renamed SpeedDialView.replaceFabOptionItem() to SpeedDialView.replaceActionItem()
    • renamed SpeedDialView.removeFabOptionItemById() to SpeedDialView.removeActionItemById()
    • renamed SpeedDialView.removeFabOptionItem() to SpeedDialView.removeActionItem()
    • renamed SpeedDialView.isFabMenuOpen() to SpeedDialView.isOpen()
    • renamed SpeedDialView.closeOptionsMenu() to SpeedDialView.close()
    • renamed SpeedDialView.openOptionsMenu() to SpeedDialView.open()
    • renamed SpeedDialView.toggleOptionsMenu() to SpeedDialView.toggle()
    • removed attributes android:src
    • renamed attributes srcCompat to sdMainFabOpenSrc
    • renamed attributes sdFabCloseSrc to sdMainFabCloseSrc
    • removed attributes sdFabRotateOnToggle
    • added attributes sdMainFabCloseRotateAngle
  • minor fixes

1.0-alpha03

14 Apr 13:04
1.0-alpha03
Compare
Choose a tag to compare
1.0-alpha03 Pre-release
Pre-release
  • fixed #4: FAB icons rotate only once
  • renamed attribute close_src to sdFabCloseSrc
  • added attributes sdFabRotateOnToggle and sdExpansionMode
  • fixed various minor UI issues

1.0-alpha02

14 Apr 13:04
1.0-alpha02
Compare
Choose a tag to compare
1.0-alpha02 Pre-release
Pre-release

First public alpha release