简体   繁体   English

Android启动画面尺寸

[英]Android splash screen dimensions

I'm trying to create a splash screen on photoshop that will support every single device that runs Android. 我正在尝试在Photoshop上创建启动屏幕,以支持运行Android的每台设备。 I've been reading around blogs and the android website and I see that you need to design your assets in dp, but I don't understand what that means. 我一直在阅读博客和android网站,发现您需要在dp中设计资产,但是我不明白这意味着什么。 I understand the concept of dp, but I don't understand how to apply that on photoshop. 我了解dp的概念,但不了解如何在Photoshop中应用它。 I know the equivalent of a dp is pixels/(dpi/160), but I'm not sure what size (pixels) I should be using for each one of the different sizes (ldpi, mdpi, hdpi, xdpi, xxdpi...). 我知道dp的等效值是pixels /(dpi / 160),但是我不确定应该为每种不同的尺寸(ldpi,mdpi,hdpi,xdpi,xxdpi)使用什么尺寸(像素)。 )。 So if someone can let me know what the dimensions of my splash screens needs to be, as well as the resolution, I'd really appreciate it. 因此,如果有人可以让我知道初始屏幕的尺寸以及分辨率,我将非常感激。

ldpi = 320 x 426
mdpi = 320 X 470
hdpi = 480 x 640
xhdpi = 720 x 960
xxhdpi = 1080 X 1440

for splash screen you can make a single image into four different sizes 对于启动画面,您可以将单个图像制作成四个不同的大小

as

drawable - small, 
drawable - normal, 
drawable - large, 
drawable - xlarge

and when it comes to dimensions 在尺寸方面

may be helpful 可能会有帮助

Click [here]( http://androidcoding.in/2016/03/02/android-tutorial-on-splashscreen/ "this text appears when you mouse over")! 点击[此处]( http://androidcoding.in/2016/03/02/android-tutorial-on-splashscreen/ “当您将鼠标悬停在上方时,该文本就会出现”)!

http://developer.android.com/guide/practices/screens_support.html http://developer.android.com/guide/practices/screens_support.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM