If you are talking about number of rows, then ViewInflate would be
considered dynamic by your definition. If the user asks for 10 rows,
you'd just execute your view inflate code 10 times.

The row content itself might be an issue. A good example would be
asking the user how many images they'd want in the row and then adding
that many ImageViews programmatically. You wouldn't know beforehand to
have a TableRow xml file with 10 ImageViews for instance.

On Mar 24, 2:06 pm, Raja Nagendra Kumar <[EMAIL PROTECTED]>
wrote:
> Hi Dan,
>
> I was refering to static rows as rows as defined in xml layout file.
> dynamic rows are rows which need to be created dynamically say based
> on users choice on no of rows..
> I had a issue of creating the table rows in a table layout.. however
> it got clarified from on the forum inputs.. (I used new
> TableLayout.LayoutParams() to create empty params.)
>
> Regards,
> Nagendra
> On Mar 20, 11:34 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>
> > Could you explain the problem a bit better? Why do you see it as a
> > workaround? I guess it would help if you would tell me what you mean
> > by static rows versus dynamic rows.
>
> > On Mar 20, 7:14 am,RajaNagendraKumar<[EMAIL PROTECTED]>
> > wrote:
>
> > > Hi Dan,
>
> > > If I understand correctly what you are saying is create the xml file
> > > at run time with dynamic rows and values and use ViewInflate  api
> > > etc.. However this seems to be a work around as I should be able to
> > > change add row to existing table etc..
>
> > > I have looked at api demo's however it only has static rows and not
> > > dynamic rows. Pl. help me to understand the api of table with some
> > > working code example. Thanking you for your support
>
> > > Regards,
> > >RajaNagendraKumar,
> > > C.T.Owww.tejasoft.com-Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to