sre*_*dev 5 android image android-resources android-studio
我是一名 iOS 开发人员,也是 Android 开发的新手。我需要将图像资产要求发送给设计师。但我不确定在 android 应用程序中使用的图像大小的标准。在 iOS 中,资产的大小必须为 1x、2x 和 3x。同样,Android 会是什么?我在项目的抽屉文件夹中看到了一些文件夹,如“ldpi、mdpi、hdpi、xhdpi、xxhdpi、& xxxhdpi”。每个文件夹代表什么。我需要告诉背景、应用程序图标、按钮图标等图像的大小。
//and android resolution is
layout-large-mdpi (1024x600)
layout-large-tvdpi (800x1280)
layout-large-xhdpi (1200x1920)
layout-xlarge-mdpi (1280x800)
layout-xlarge-xhdpi (2560x1600)
//There is a different devices in android like this (for images icon)
drawable-mdpi (48X48)
drawable-hdpi (72X72)
drawable-xhdpi (96X96)
drawable-xxhdpi (144X144)
drawable-xxxhdpi (192X192)
Run Code Online (Sandbox Code Playgroud)
您输入了所有分辨率的图像,系统会自动获取特定分辨率的移动设备,有关更多信息,请参阅此链接: 不同分辨率支持 android
| 归档时间: |
|
| 查看次数: |
5723 次 |
| 最近记录: |