Skip to content

Instantly share code, notes, and snippets.

@koral--
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koral--/a845533e580b63e3ec9c to your computer and use it in GitHub Desktop.
Save koral--/a845533e580b63e3ec9c to your computer and use it in GitHub Desktop.
Test for #95
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GifImageView gifImageView=new GifImageView(this);
//https://github.com/koral--/android-gif-drawable-sample/blob/master/sample/src/main/res/drawable-nodpi/anim_flag_england.gif
gifImageView.setImageResource(R.drawable.anim_flag_england);
setContentView(gifImageView);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment