开发者

What is the best view for a displaying an images in android?

开发者 https://www.devze.com 2023-02-15 11:05 出处:网络
I\'m designing an app that splits an image into a 3 开发者_StackOverflow中文版x 3 grid. What is the best way to display this image.

I'm designing an app that splits an image into a 3 开发者_StackOverflow中文版x 3 grid. What is the best way to display this image.

Also, How can I move this piece from one point to another on the view.

Thanks.


Use an ImageView? I don't understand your second question. If you are talking about trying to show the 3x3 grid, use a GridView.

You can mess around with the ScaleType and image matrix to change what part of an image is displayed.

0

精彩评论

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

关注公众号