예제 #1
0
        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);
        }
예제 #2
0
        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);
        }