Popularity
1.2
Growing
Activity
0.0
-
23
2
2

Programming language: Kotlin
License: Apache License 2.0
Tags: Kotlin     UI     Android     Animations     UI Widget     TextView     Views     Custom View     Android-library     Tooltips    
Latest version: v1.0.0

MagicTip alternatives and similar packages

Based on the "Kotlin" category.
Alternatively, view MagicTip alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of MagicTip or a related project?

Add another 'Kotlin' Package

README

MagicTip

Android Arsenal

20191114_151821

Simple MagicTip

MagicTip(anchorView)
                    .settings {
                        text = "Lorem Posen"
                        bgColor = Color.RED
                    }
                    .show()

AutoCloseMagicTip

AutoCloseMagicTip by default close tip after 1000 milliseconds. You can change it in the constructor:

AutoCloseMagicTip(anchorView, delayMillis)
                    .settings {
                        text = "Lorem Posen"
                        bgColor = Color.GREEN
                    }
                    .show()

OneMagicTip

OneMagicTip - it is decorator that shows only 1 MagicTip.

 OneMagicTip(anchorView, MagicTip(anchorView)
                    .settings {
                        text = "Lorem Posen"
                        bgColor = Color.BLUE
                    })
                    .show()

How to use animations?

In the MagicTip.(view).settings{ } block of code you have access to startAnimationDelegate and exitAnimationDelegate. Don't forget to set Reversed version of animation on exitAnimationDelegate. For example if startAnimationDelegate = OvershootMagicTipAnimation() then exitAnimationDelegate = OvershootMagicTipAnimation.Reversed()

Set of animations:

  • AlphaMagicTipAnimation
  • OvershootMagicTipAnimation
  • ScaledTranslateMagicTipAnimation

Download

implementation 'com.github.Devit951:MagicTip:1.0.0'