开发者

Not scaling in landscape mode?

When i set to some view weight or height in dpi on others screen resolutions and densityes in portraint mode scaling work fine. But it don't work whet turn to lanscape!

I can make resources files for all densityes and resolution, but it not good solution for me beacause i have a lot of layouts.

I try to set anyDensity to false, use px or sp, turn off and on screen resolution. And nothing hapens.

There is an another solution to anything?

开发者_运维知识库Thanks for replyes!


Are you experiencing bad landscape layout when creating fixed dpi widths and heights? Create layout-land folder in the res folder. Create xml layout files for all the screens you would like to have in dpi dimensions for landscape.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜