protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); gif = FindViewById <Com.Ant.Liao.GifView>(Resource.Id.gif1); //gif.SetShowDimension(500, 500); gif.SetGifImageType(Com.Ant.Liao.GifView.GifImageType.Cover); gif.SetGifImage(Resource.Drawable.demo); gif.SetOnClickListener(this); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); gif = FindViewById<Com.Ant.Liao.GifView>(Resource.Id.gif1); //gif.SetShowDimension(500, 500); gif.SetGifImageType(Com.Ant.Liao.GifView.GifImageType.Cover); gif.SetGifImage(Resource.Drawable.demo); gif.SetOnClickListener(this); }