How to enable scrolling...


Last Updated:

  1. Vitality93

    Vitality93 Member This Topic's Starter

    Joined:
    Nov 6, 2010
    Messages:
    14
    Likes Received:
    1
    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? :confused:
     

    Advertisement
  2. id0001

    id0001 Well-Known Member

    Joined:
    Apr 20, 2010
    Messages:
    142
    Likes Received:
    23
    make the TableLayout 'wrap_content' and put it inside a ScrollView, that should solve your problem.
     
    Vitality93 likes this.
  3. Vitality93

    Vitality93 Member This Topic's Starter

    Joined:
    Nov 6, 2010
    Messages:
    14
    Likes Received:
    1
    works great, thanks!
     
  4. evolvenet

    evolvenet New Member

    Joined:
    Dec 6, 2010
    Messages:
    1
    Likes Received:
    0
    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...