views:

94

answers:

2

I need to create a home screen (menu) with 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?

A: 

Have you looked at the Home sample on the developer resources site? Might be too "dynamic" for you, but it's worth a shot.

Josh
A: 

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

Mayra