开发者

Images (other applications icons) on Android app rendering smaller on hdpi device if android:minSdkVersion="7" is specified

开发者 https://www.devze.com 2023-04-12 05:32 出处:网络
One of the activity in my apps, displays all the installed apps on the phone in a Grid View. The icons are displayed in the activity as shown in default launcher if the android manifest does not conta

One of the activity in my apps, displays all the installed apps on the phone in a Grid View. The icons are displayed in the activity as shown in default launcher if the android manifest does not contains uses开发者_JS百科-sdk tag. But if I add (uses-sdk android:minSdkVersion="7"/> in the manifest, the icons in HDPI devices (also in emulator) appears smaller than how they are displayed in default launcher screen.

I was able to replicate this behavior in sample app "Home" that comes with android sdk.

Any pointers will be highly appreciated. Thanks!!

0

精彩评论

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

关注公众号