Bundled GIFLib via JNI is used to render frames. This way should be more efficient than WebView or Movie classes. Current development builds (build from dev branch) are published to OSS snapshot repository. To use them, specify repository URL in repositories block. For Android 4.2+ (API level 17+). Supports GifTextureView hardware-accelerated rendering, and GifTexImage2D OpenGL ES 2.0+. See sample directory. Sample project is under construction. Not all features are covered yet. The simplest way is to use GifImageView (or GifImageButton) like a normal ImageView. If drawables declared by android:src and/or android:background are GIF files then they will be automatically recognized as GifDrawables and animated. If given drawable is not a GIF then mentioned Views work like plain ImageView and ImageButton. GifTextView allows you to use GIFs as compound drawables and background.

Features

  • GifDrawable can be constructed directly from various sources
  • Just set GifDrawable as MediaPlayer on your MediaController
  • Standard controls for a MediaPlayer can be used to control GIF animation and show its current progress
  • GifDrawable now uses android.graphics.Bitmap as frame buffer
  • GifTextView allows you to use GIFs as compound drawables and background
  • GifDrawable implements an Animatable and MediaPlayerControl so you can use its methods

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow android-gif-drawable

android-gif-drawable Web Site

Other Useful Business Software
Turn traffic into pipeline and prospects into customers Icon
Turn traffic into pipeline and prospects into customers

For account executives and sales engineers looking for a solution to manage their insights and sales data

Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of android-gif-drawable!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Photo Management Software, Java Animation Software

Registered

2021-06-29