开发者

Android Gallary

开发者 https://www.devze.com 2023-02-13 14:44 出处:网络
I am trying to implement a Image Gallery with zoom in and zoom out facilities on every images. for this i have extended ImageView and added zoom in zoom out mechanism with it, then in the Adapter cla

I am trying to implement a Image Gallery with zoom in and zoom out facilities on every images.

for this i have extended ImageView and added zoom in zoom out mechanism with it, then in the Adapter class i return my own ImageView. But unfortunately it is not working with current Gallery widget.

my image view skeleton is like this

public class myImageView extends ImageView implements OnTouchListener{}

My adapter class code is also simple i just use my 开发者_StackOverflow社区ImageView instead of original one. Zoom in Zoom out in my ImageView works fine without gallery but not with gallery.

Any, advice?

0

精彩评论

暂无评论...
验证码 换一张
取 消