Wednesday, December 22, 2010

[android-developers] OOP objects + complex view

Hi guys,

I am developing an app that need to display information on the stock
of a store. Each activity will have upto 100 items.

My plan is to layout this information in a 10 * 10 grid. Each box in
the grid represents an item of stock. Each of these items will be
represented by an icon and a piece of text beneath the icon (the
name). I setup a new layout which has an ImageView and a TextView for
this. I called the layout Tab.xml

So, I need to know if it is possible to write a java class which will
use the Tab.xml as the layout.
Then I can programmatically create each java class item, setting the
image and text as I go along.

Can anyone please give me some direction about this?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate