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

Apps How to enable scrolling...

Discussion in 'Android Development' started by Vitality93, Dec 4, 2010.

  1. Vitality93

    Vitality93 Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Nov 6, 2010

    Nov 6, 2010
    14
    1
    16
    Yeah, it's probably a pretty simple answer but this is my first time making an app and it just won't let me scroll down the app to view the rest of the text I put in. (In android emulator and on my phone)

    I'm using a table layout with width=fill_parent and height=fill_parent

    I have around 7 TextViews below that with width set to wrap_content and height set to wrap_content

    What am I doing wrong? :thinking:
     

    Advertisement

  2. id0001

    id0001 Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    142
    Joined:
    Apr 20, 2010

    Apr 20, 2010
    142
    23
    38
    Student.. also software developer
    Netherlands
    make the TableLayout 'wrap_content' and put it inside a ScrollView, that should solve your problem.
     
    Vitality93 likes this.
  3. Vitality93

    Vitality93 Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Nov 6, 2010

    Nov 6, 2010
    14
    1
    16
    works great, thanks!
     
  4. evolvenet

    evolvenet Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Dec 6, 2010

    Hi,thanks for sharing the information regarding to this topic.Really it works nicely.Thanks again so much..

    Web Design Birmingham
     

Share This Page

Loading...