Install android.max_aspect unlimited?

I see the new guideline is to set the value for android.max_aspect

in the manifest.

Is it possible to install this without limitation (without relying on kludge, how to install it on 9999999

, and not install android:resizeableActivity

on true

)?

+3


source to share


1 answer


For all practical purposes, you don't need it unlimited

- it's enough if you set it to a high enough value, like10

As you know, aspect ratio is the ratio of the long side of your display to the other side. If you think about it logically, a display with an aspect ratio 10

(10x wider or vice versa) would be extremely awkward and impractical to design on an Android device (imagine viewing your app on a device 10x the width!)



As an aside, it's bad design to even set max_aspect to 10 - it would be difficult to test how your app behaves on a device with a 10 aspect ratio, and you can never guess what would be wrong in the UI at such extremes.

+1


source







All Articles