开发者

Android menu view, gridview or something else?

I need to create a home screen (menu) with开发者_StackOverflow four to six items arranged in a grid view, each item needs to have an icon and a text below the icon. I googled and everything I could find were adapterView examples, with dynamic menu loading, and I want to make it with static xml, this view will not change so no need for dynamic code.

Can anyone post an xml example of this?


You could use a table layout.. The layouts developer documentation has an example of an all xml way to configure it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜