• Add GIF format Image as a Splash Screen



    you can Add Gif Image for the Splash Screen. To use Gif Image in your View.
    add this dependency to your build.gradle file.
    allprojects {
        repositories {
           mavenCentral()
        }
    }
    
    dependencies {
        compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.2'
    }
    and In the Xml file add this way
    <pl.droidsonroids.gif.GifTextView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@drawable/yourgif_image"
        />
    and add your Gif Image to Drawable.
    For more detail visit this : https://github.com/koral--/android-gif-drawable
    Or
    you can Create different Frame for Image and add it one after another in short interval of time.
  • 0 comments:

    Post a Comment

    FAVOURITE LINE

    To steal ideas from one is plagiarism. To steal from many is Research.

    ADDRESS

    Mumbai , Maharashtra

    EMAIL

    shikha.pathak6@gmail.com
    shikha.the.swt.pari@gmail.com

    Skype

    shikha_pari