Android Question AutoScaleAll - when X > Y

Discussion in 'Android Questions' started by fireday, Jul 27, 2015.

  1. fireday

    fireday Member Licensed User

    hi all

    I want to make my design the same at all screen sizes

    AutoScaleAll work when X < Y
    but how i can see (maybe i do some wrong ?) when X>Y then AutoScaleAll work not true

    i can show it on my program:

    #SupportedOrientations: portrait
    it is my desig:

    // i take screen size (X,Y) to labels to see values

    when it start at X < Y

    when it start at X > Y
    its not size to be on full screen !
    and i have opinion, maybe its becouse X > Y ?
    Last edited: Jul 27, 2015
  2. DonManfred

    DonManfred Expert Licensed User

    I believe the STATUS-Line (TOP with the clock) and the activity title uses 110dip in height together....
    fireday likes this.
  3. fireday

    fireday Member Licensed User

    i don't tell about difference between screen size and activity size
    i tell about AutoScaleAll - its dont work fine if X > Y
  4. Erel

    Erel Administrator Staff Member Licensed User

    It is not related to landscape vs. portrait.

    AutoScaleAll will not stretch the layout. It slightly increases or decreases the controls based on the difference between the device screen and the chosen variant.

    If you want to create a stretched layout (which is not a good layout) then you need to set all the dimensions with %x and %y. You can do it in the designer script or code.
    fireday likes this.
  5. klaus

    klaus Expert Licensed User

    lemonisdead, Erel and fireday like this.
  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