1. Download our Official Android App: Forums for Android!

Apps custom + dynamic layout

Discussion in 'Android Development' started by ronnixw, Jul 12, 2011.

  1. ronnixw

    ronnixw Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    13
    Joined:
    Jun 26, 2011

    Jun 26, 2011
    13
    0
    15
    Developer
    Latvia
    Hello,

    Next one question from me :D
    So , I have layout xml and there are two panes - one static , one dynamic.
    Static part I want one vs one from xml layout file( static texts , images ).
    Dynamic part I want to fill from code with unknown amount of textViews and ImageButtons and maybe some other widgets.

    how can I achieve that?
    I tried to get LinearLayot from xml and add some widgets but this method fails.. :(


    best regards,
    ronnixw
     

    Advertisement

  2. ronnixw

    ronnixw Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    13
    Joined:
    Jun 26, 2011

    Jun 26, 2011
    13
    0
    15
    Developer
    Latvia
    Hi ,

    Solution found , cleaned project and all works now. :))
    But have another problem - i need several widgets in several rows - dont know how much widgets/rows.
    If there are no place for new widget then widget need to be added in new row.

    can anyone give some solution?

    best regards,
    ronnixw
     
  3. ronnixw

    ronnixw Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    13
    Joined:
    Jun 26, 2011

    Jun 26, 2011
    13
    0
    15
    Developer
    Latvia

Share This Page

Loading...