Slidetoact Versions Save

A simple 'Slide to Unlock' Material widget for Android, written in Kotlin 📱🎨🦄

v0.11.0

10 months ago

Changes

Dependency Bumps

  • Android TargetSDK to 33
  • AppCompat to 1.6.1
  • Kotlin to 1.9.0
  • Gradle to 8.2
  • AGP to 8.0.2

New Contributors

Full Changelog: https://github.com/cortinico/slidetoact/compare/v0.10.0...v0.11.0

v0.10.0

1 year ago

Changes

  • Add dynamic height adjustment capability (#174)
  • Add state_complete to render the slider directly in the complete state without animation (#169)
  • All the public properties are now annotated with the @ColorInt, @StyleRes, @DrawableRes to avoid confusion (#134)
  • Correct logic for handling OnClickListener (#142)
  • Flip the icon instead of rotating it when using slide_reverse (#151)

Dependency bumps

  • Android TargetSDK to 32
  • AppCompat to 1.5.1
  • Kotlin to 1.7.10
  • Gradle to 7.5.1
  • AGP to 7.2.2

v0.9.0

3 years ago
  • Relax the requirement on the tick (complete) Icon being an AVD (#127)
  • Add support for customising the tick (complete) icon (#124)
  • Add support for changing the arrow icon during runtime (#119)
  • Fix FileNotFoundException on parseVectorDrawableCompat (#126)

Dependency Updates:

  • AGP to 4.0.0
  • Ktlint to 0.37.0
  • Ktlint-gradle to 9.2.1
  • Kotlin to 1.3.72

v0.8.0

4 years ago
  • Migrated to AndroidX.
  • targetSdkVersion to 29.
  • Added the animation_duration attribute to control the lenght of the complete animation.
  • Added the bump_vibration attribute to vibrate the device when the cursor bumps at the end of the slider.
  • Added the icon_margin attribute to control the margin of the icon inside the slider.
  • Prefixed all the library resources with slidetoact_ to avoid misuse of library resources.

Dependency Updates:

  • Kotlin to 1.3.61
  • AGP to 3.5.3
  • AndroidX Appcompat to 1.1.0
  • MDC to 1.0.0

v0.7.0

5 years ago
  • Add support for coloring the arrow icon with a custom color (credits to @JoshJustPark)
  • Add support for reversing the slider (credits to @adrienrx)

v0.6.0

5 years ago
  • Printing of text now is done with a TextView.
  • Adding the text_appearance attribute to set a custom style for the text. This allows to set a custom font, text all caps or other customization.
  • Adding capability to turn off complete animation.

v0.5.1

5 years ago
  • Fixed bug with text_color default value

v0.5.0

5 years ago
  • Added the text_color attribute to customize text color
  • Fixed constructors to use @JvmOverload
  • Kotlin to 1.3

v0.4.0

5 years ago
  • Added feature to disable icon rotation
  • Added 'userFailure' event listener to better educate user
  • Updating kotlin to latest version

v0.3.0

6 years ago
  • Added text_style attribute
  • Added inner/outer color setter
  • Added support for custom icons (kudos to @nkizz)
  • Fixed radius of the inner cursor (kudos to @redward)
  • Improved OutlineProvide creation/usage (kudos to @redwarp)