Dynamic UI

Put your problem here if it does not fit any of the other categories.

Dynamic UI

Postby rajuk » Thu Apr 10, 2008 5:04 pm

Hi,

Is it possible to place/create controls dynamically in runtime on UI. Like I want to place n number of textboxes or spinners dynamically on screen when application is loaded.
They should support all the properties in the same way as and when they are created statically.

Its very urgent.

Thanks in advance.

rajuk
rajuk
Freshman
Freshman
 
Posts: 8
Joined: Tue Feb 26, 2008 3:52 am

Top

Yes you can !

Postby xirgonium » Fri Apr 11, 2008 10:58 am

Dear Rajuk,

actually you can add views with the method Activity.addContentView().

You can have a look to this URL.

APIreference

I hope it helps you (I am a rookie in Android :-) ).

Rgds
xirgonium
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Apr 10, 2008 6:17 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], MSNbot Media and 19 guests