Android Question View / Panel relationship for scrolling

Discussion in 'Android Questions' started by Tony Tetley, Apr 8, 2015.

  1. Tony Tetley

    Tony Tetley Member Licensed User

    I am having a hard time wrapping my head around setting up the relationship between a view and a panel when the view must be scrolled (using Scrollview2D). I am designing for the small screen (320 x 480) and I get it to work correctly there, but when I go to a larger screen (Nexus 7 for example) it just does not look right.

    It seems that the panel must exceed the dimensions of the view to enable scrolling. Studying the example program(s) has not made it any clearer for me. If the screen is big enough that you don't need to scroll should they panel and view be the same size? Is there a rule about the relationship of the view and panel when you need scrolling?

    Color me confused.

  2. Peter Simpson

    Peter Simpson Expert Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice