Same layout looks different on a Samsung Galaxy Tab

后端 未结 2 954
-上瘾入骨i
-上瘾入骨i 2021-01-27 02:58

I\'m developing an Android 2.2.2 application which will support multiple screens sizes and all screens will be portrait. I won\'t support landscape.

I have test the foll

2条回答
  •  抹茶落季
    2021-01-27 03:27

    The Problem is following you use in your layout, static values (100dp, 60dp). Now the problem is on a higher resolution this dp isn't the same.

    That means you should create a layout for x-large screens. Also I wouldn't use those static values. Than your application will behave good on many diffrent screensizes!

    Have a great Day

    safari

提交回复
热议问题