开发者

How can I customize Android Gallery component?

开发者 https://www.devze.com 2023-02-18 16:36 出处:网络
I would like to show Photogallery using the Android Gallery component but I would like to show a description text under every single image.

I would like to show Photogallery using the Android Gallery component but I would like to show a description text under every single image. How can I do? I've only found examples开发者_Python百科 using only images or only text.


You can put any sort of View in your Gallery. For example you can have a LinearLayout combining ImageView and TextView, or derive ImageView.onDraw to draw a text.

0

精彩评论

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

关注公众号