Skip to content

1.1.9

Compare
Choose a tag to compare
@skydoves skydoves released this 27 Jun 08:28

🎉 Released a new version 1.1.9! 🎉

What's New?

  • Now setText receives CharSequence type instead of String type for supporting SpannableStringBuilder. (#70)
  • Added set arrow padding functionalities for making different arrow size of width and height. (#64)
    The width/height size of the arrow must be the same internally, so we can set different width and height size of the arrow using these functions.
setArrowLeftPadding(@Dp value: Int
setArrowRightPadding(@Dp value: Int)
setArrowTopPadding(@Dp value: Int)
setArrowBottomPadding(@Dp value: Int)
  • Added setTextGravity functionality for aligning text. (#65)
  • Added setArrowAlignAnchorPadding/setArrowAlignAnchorPaddingRatio functionalities for giving padding from the end of position when we using with ArrowConstraints.ALIGN_ANCHOR. (#67)
  • Added additional dimension resource type functionalities as a parameter from previous existing functions that receive a parameter as a Dp size.
setWidthResource(@DimenRes value: Int)
setHeightResource(@DimenRes value: Int)
setPaddingResource(@DimenRes value: Int)
setSpaceResource(@DimenRes value: Int)
setArrowSizeResource(@DimenRes value: Int)
setCornerRadiusResource(@DimenRes value: Int)
setIconSizeResource(@DimenRes value: Int)
setIconSpaceResource(@DimenRes value: Int)
setElevationResource(@DimenRes value: Int)