开发者

Android::Creating a clickable collage?

开发者 https://www.devze.com 2022-12-31 13:33 出处:网络
I am trying to create something like a rectangular grid with pictures. When a picture is clicked, it should zoom in pushing the other ones out. I don\'t know what you name you call this particular mod

I am trying to create something like a rectangular grid with pictures. When a picture is clicked, it should zoom in pushing the other ones out. I don't know what you name you call this particular model with but does anyone have suggestions on where I should start?

Coll开发者_运维知识库age Example


To start with, I'd read up on layouts in android: developer docs are always a good place to start. A GridView might work well for you.

Handling UI events should get you started in listening for mouse clicks.

I'd start with something simple, just showing the pictures on the screen, and then you can build up to more complicated animations, etc.


Have a look at android-collage-views:Draggable, rotatable, and scalable views for Android https://github.com/thuytrinh/android-collage-views

0

精彩评论

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

关注公众号