The Android Arsenal – Animations


Create Cool Android Loading Animation in a easy approach.

USAGE

This Library will assist developer to enforce Cool Android Loading Animation in perfect approach.

First Display screen 2nd Display screen 3rd Display screen

Gradle

Upload it on your root construct.gradle on the finish of repositories:

allprojects {
  repositories {
   ...
   maven { url 'https://jitpack.io' }
  }
 }

Upload the dependency


dependencies {
    ...
    implementation 'com.github.Marvel999:Android-Loading-Animation:1.0.0'
}

XML

<!-- <a> Loading Animation xml</a> -->
       <com.instance.loadinganimation.LoadingAnimation
        android:identification="@+identification/loadingAnim"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:elevation="10dp"
        app:barType="@drawable/clock"
        app:boldText="false"
        app:amplify="5"
        app:textColor="@colour/purple_500"
        app:textSize="15sp" />

You could use the next homes on your XML to modify your Loading Animation.

#####Homes:

/*Loading Animation xml */

  • app:barType -> To get animation gif report
  • app:textual content -> So as to add textual content underneath animation
  • app:textColor -> To set colour of Textual content
  • app:textSize -> To set textual content Measurement
  • app:amplify -> To increse measurement of animation(1 to ten)
  • app:boldText -> To make textView Daring
  • app:isVisible -> To set textual content visual(ByDefult invisible)

Kotlin

 val loadingAnim=findViewById<LoadingAnimation>(R.identification.loadinAnim);
        loadingAnim.setProgressVector(sources.getDrawable(R.drawable.black_three_dot_circle))
        loadingAnim.setTextViewVisibility(true)
        loadingAnim.setTextStyle(true)
        loadingAnim.setTextColor(Colour.YELLOW)
        loadingAnim.setTextSize(12F)
        loadingAnim.setTextMsg("Please Wait")
        loadingAnim.setEnlarge(5)

Animation

Easy methods to give a contribution?

  1. Fork the repository
  2. Do the specified adjustments (upload/delete/adjust)
  3. Make a pull request

When to give a contribution?

  1. Repair open insects.
  2. Upload new factor.

LICENCE

Copyright 2021 Manish

Approved beneath the Apache License, Model 2.0 (the "License");
you won't use this report with the exception of in compliance with the License.
You could download a replica of the License at
    http://www.apache.org/licenses/LICENSE-2.0
Except required via acceptable legislation or agreed to in writing, device
allotted beneath the License is shipped on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, both categorical or implied.
See the License for the particular language governing permissions and
boundaries beneath the License.



Supply hyperlink

Leave a Reply

Your email address will not be published.

Back To Top