slidetoact

A simple 'Slide to Unlock' Material widget for Android, written in Kotlin ๐Ÿ“ฑ๐ŸŽจ๐Ÿฆ„

MIT License

Stars
1.2K

Bot releases are visible (Hide)

slidetoact - slidetoact v0.11.0 Latest Release

Published by cortinico over 1 year 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

slidetoact - slidetoact v0.10.0

Published by cortinico about 2 years 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
slidetoact - slidetoact v0.9.0

Published by cortinico over 4 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
slidetoact - slidetoact v0.8.0

Published by cortinico over 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
slidetoact - slidetoact v0.7.0

Published by cortinico over 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)
slidetoact - slidetoact v0.6.0

Published by cortinico over 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.
slidetoact - slidetoact v0.5.1

Published by cortinico almost 6 years ago

  • Fixed bug with text_color default value
slidetoact - slidetoact v0.5.0

Published by cortinico almost 6 years ago

  • Added the text_color attribute to customize text color
  • Fixed constructors to use @JvmOverload
  • Kotlin to 1.3
slidetoact - slidetoact v0.4.0

Published by cortinico almost 6 years ago

  • Added feature to disable icon rotation
  • Added 'userFailure' event listener to better educate user
  • Updating kotlin to latest version
slidetoact - slidetoact v0.3.0

Published by cortinico over 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)
slidetoact - slidetoact v0.2.0

Published by cortinico almost 7 years ago

  • Added support for API >= 14
  • Added completeSlider utility function
  • Added getters/settes for text field
  • Update to android gradle plugin version 3
slidetoact - slidetoact v0.1.0

Published by cortinico over 7 years ago

  • First working release of slidetoact library ๐ŸŽ‰
  • 100% Kotlin
  • Added Example app
  • Added Espresso tests
  • Added Readme with samples and screenshots
  • Added support for Bintray release
Package Rankings
Top 20.18% on Repo1.maven.org
Badges
Extracted from project README
CircleCI Maven Central Android Weekly License Twitter Awesome Kotlin Badge CircleCI Build Status
Related Projects