| UI KIT LIST | UI KIT GRID | |:βββββββββββββββββββββββ:|:βββββββββββββββββββββββ:| | | |
This Is Latest Release
$version_release = 2.0.5
Whatβs New??
* Avaiable For Android And Desktop *
* Update to libs.versions.toml *
No. | Library Name | Docs |
---|---|---|
1. | FrogoAnimation | Click Here |
2. | FrogoLoadingIndicatorView | Click Here |
// Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
// Add it in your root build.gradle.kts at the end of repositories:
allprojects {
repositories {
...
maven("https://jitpack.io")
}
}
dependencies {
// library frogo-ui
implementation 'com.github.frogobox:frogo-ui:2.0.5'
// library frogo-ui for desktop
implementation 'com.github.frogobox.frogo-ui:core-ui:2.0.5'
}
dependencies {
// library frogo-ui
implementation("com.github.frogobox:frogo-ui:2.0.5")
// library frogo-ui for desktop
implementation("com.github.frogobox.frogo-ui:core-ui:2.0.5")
}
[versions]
frogoui = "2.0.5"
[libraries]
frogo-ui = { group = "com.github.frogobox", name = "frogo-ui", version.ref = "frogoui" }
frogo-ui-core = { group = "com.github.frogobox.frogo-ui", name = "core-ui", version.ref = "frogoui" }
dependencies {
// library frogo-ui
implementation(libs.frogo.ui)
// library frogo-ui for desktop
implementation(libs.frogo.ui.core)
}
FrogoAnimation().apply {
setAnimation(Bounce.In(binding.TextView))
setDuration(1500)
}.start()
FrogoAnimation().apply {
setAnimation(Attention.Ruberband(binding.TextView))
setRepeated()
setDuration(1500)
}.start()
FrogoAnimation().apply {
setAnimation(Attention.Ruberband(binding.TextView))
setRepeated(20)
setDuration(1500)
}.start()
To animate the view, add the class name and specific animation method namesetAnimation
to an view. You can include the method setDuration
to specify duration of animation. Default value for duration
is 1000 Milliseconds
. Finally you need to add one of the following classes to the view:
Class Name | Β | Β | Β | Β | Β | Β |
---|---|---|---|---|---|---|
Attention |
Bounce |
Fade |
Flip |
Rotate |
Slide |
Zoom |
Attention |
Β | Β | Β |
---|---|---|---|
Bounce |
Flash |
||
Pulse |
Ruberband |
||
Shake |
Standup |
||
Swing |
Tada |
||
Wave |
Wobble |
Bounce |
Β | Β | Β |
---|---|---|---|
InDown |
InUp |
||
InLeft |
InRight |
||
In |
Β | Β |
Fade |
Β | Β | Β |
---|---|---|---|
InDown |
InUp |
||
InLeft |
InRight |
||
OutDown |
OutUp |
||
OutLeft |
OutRight |
||
In |
Out |
Flip |
Β | Β | Β |
---|---|---|---|
InX |
InY |
||
OutX |
OutY |
Rotate |
Β | Β | Β |
---|---|---|---|
InDownLeft |
InDownRight |
||
InUpLeft |
InUpRight |
||
OutDownLeft |
OutDownRight |
||
OutUpLeft |
OutUpRight |
||
In |
Out |
Slide |
Β | Β | Β |
---|---|---|---|
InDown |
InUp |
||
InLeft |
InRight |
||
OutDown |
OutUp |
||
OutLeft |
OutRight |
Zoom |
Β | Β | Β |
---|---|---|---|
InDown |
InUp |
||
InLeft |
InRight |
||
OutDown |
OutUp |
||
OutLeft |
OutRight |
||
In |
Out |
Simple
<com.frogobox.loadingindicator.FrogoLoadingIndicatorView
android:id="@+id/indicator"
style="@style/FrogoLoadingIndicatorView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:indicatorName="BallPulseIndicator" // Indicator Name
app:indicatorColor="#FFFFFF"/>
fun hideClick(view: View?) {
binding.fli.hide()
// or fli.smoothToHide();
}
fun showClick(view: View?) {
binding.fli.show()
// or fli.smoothToShow();
}
As seen above in the Demo, the indicators are as follows:
Row 1
BallPulseIndicator
BallGridPulseIndicator
BallClipRotateIndicator
BallClipRotatePulseIndicator
Row 2
SquareSpinIndicator
BallClipRotateMultipleIndicator
BallPulseRiseIndicator
BallRotateIndicator
Row 3
CubeTransitionIndicator
BallZigZagIndicator
BallZigZagDeflectIndicator
BallTrianglePathIndicator
Row 4
BallScaleIndicator
LineScaleIndicator
LineScalePartyIndicator
BallScaleMultipleIndicator
Row 5
BallPulseSyncIndicator
BallBeatIndicator
LineScalePulseOutIndicator
LineScalePulseOutRapidIndicator
Row 6
BallScaleRippleIndicator
BallScaleRippleMultipleIndicator
BallSpinFadeLoaderIndicator
LineSpinFadeLoaderIndicator
Row 7
TriangleSkewSpinIndicator
PacmanIndicator
BallGridBeatIndicator
SemiCircleSpinIndicator
Very open to anyone, Iβll write your name under this, please contribute by sending an email to me
Name Of Contribute
Waiting for your contribute