The way you describe this there's no real reason to perform any dynamic 
loading of anything...Your page design seems to be pretty constant.
Just design the second page to appear the way you want it to be, then set 
everything (text, visiblity and etc) once the activity is loaded according 
to the choices you made.

Since your design seems to also be repetitive, you can even use a similar 
design pattern used to create lists (using adapters) to inflate sections. 
i.e - create an xml of a single section (biller label, amount textbox and 
the image seperator) then use an adapter to inflate the proper amount of 
these sections with the appropriate text and information. Just follow 
tutorials regarding ListViews to get the general sense of things.






On Thursday, July 1, 2010 8:41:14 AM UTC+3, ABhi wrote:
>
> Hi All, 
>
> I'm dealing with a problem you guys might not have faced earlier. 
>
> I'm having a use-case in my Android application where the actual 
> screen that i want to show to user is not stored in any layout file of 
> my application. The layout of the of the screen is designed by server 
> in this case, based on selection made by user on first screen. 
>
> Let me elaborate here, 
> 1st Screen : List of check box with different biller names.  (Imagine 
> i've selected 2 billers from this screen) 
>
> 2nd Screen :  (The screen that server has decided how it should look 
> like) 
> * Header, 
> * 1st Biller name (Label) 
> * Amount for 1st Biller TextBox 
> * Image (a Separator image) 
> * 2st Biller name (Label) 
> * Amount for 2st Biller TextBox. 
> * Here there can be a checbox/radio/another TextBox anything. 
> * Image (a Separator image) 
> * Button (to submit above form back to server) 
>
> I hope makes some sense in what i'm planning to design. 
>
> --------- 
> The current issues i'm dealing with are as below. 
> 1). How to draw this dynamic widgets? 
> 2). How to fetch user Inputs from this dynamically created widgets? 
>
>
> Thanks in advance. 
> Regards 
> Abhishek 
>

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to