[英]Android App UI too small on some devices
I changed API level of SDK for my application from 13 to 24 . 我将应用程序的SDK的API级别从13更改为24 。 After that some users tell me: Application UI is ~10x smaller than should be . 之后,一些用户告诉我: 应用程序用户界面比应该的要小10倍 。 Very-very small icons and microscopic text. 非常小的图标和微观文本。 Devices: 设备:
Samsung A5 (Android 6.0) 三星A5(Android 6.0)
Samsung A7 (Android 6.0) 三星A7(Android 6.0)
Lenovo P1ma40 (Android 5.1) 联想P1ma40(Android 5.1)
I suspect Samsung A6 and some others. 我怀疑三星A6和其他一些。
On the most of devices app works well. 在大多数设备上,app运行良好。 Only several models has this issue. 只有几种型号有此问题。
Please, help.. 请帮忙..
Edit. 编辑。 Here are two UI-screenshots: 这是两个UI截屏:
From AndroidManifest.xml: 从AndroidManifest.xml:
<supports-screens>
<android:normalScreens="true"
android:resizeable="false"
android:smallScreens="false"
android:largeScreens="true"
android:anyDensity="false">
</supports-screens>
Edit 2. Removing anyDensity
tag fixed issue. 编辑2. anyDensity
标签已解决的问题。
you should use constraint layout . 您应该使用约束布局。 and add vertical or horizontal guideline with percentage. 并添加带有百分比的垂直或水平参考线。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.