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

Apps TimePicker and ScrollView not playing nice.

Discussion in 'Android Development' started by RED_, Jan 20, 2013.

  1. RED_

    RED_ Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    209
    Joined:
    Nov 13, 2010

    Nov 13, 2010
    209
    8
    36
    Student
    London
    Ok, so I have a XML layout with a TimePicker, few buttons and what not and a ScrollView because it's needed.

    When I run the app the app doesn't scroll. On top of that the TimePicker doesn't scroll either. Well it does but correctly. It takes 6/7 swipes to move from 6 to 7. When I remove the ScrollView the TimePicker works fine and when I remove the TimePicker the layout can scroll.

    Is there a way I can get them both to work in the XML?

    My code is pretty basic so I don't think I need to post it but let me know if you want to see it.

    I've tried fillViewPort and using nested layouts but nothing works. This effectively makes my app useless.

    Appreciate any help.
     

    Advertisement

  2. RED_

    RED_ Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    209
    Joined:
    Nov 13, 2010

    Nov 13, 2010
    209
    8
    36
    Student
    London
    Issue resolved. There are answers to this on StackOverflow now.
     

Share This Page

Loading...