android - ionic 闪屏尺寸

标签 android ios ionic-framework splash-screen

我不能使用 ionic cordova resources 命令,因为我想在每个设备上都有一个带边框的启动画面。

每种设备需要哪些不同的文件大小?

最佳答案

安卓:

drawable-land-hdpi-screen.png       800x480
drawable-land-ldpi-screen.png       320x240
drawable-land-mdpi-screen.png       480x320
drawable-land-xhdpi-screen.png      1280720
drawable-land-xxhdpi-screen.png     1600x960
drawable-land-xxxhdpi-screen.png    1920x1280
drawable-port-hdpi-screen.png       480x800
drawable-port-ldpi-screen.png       240x320
drawable-port-mdpi-screen.png       320x480
drawable-port-xhdpi-screen.png      720x1280
drawable-port-xxhdpi-screen.png     960x1600
drawable-port-xxxhdpi-screen.png    1280x1920

IOS:

Default-568h@2x~iphone.png          640x1136
Default-667h.png                    750x1334
Default-736h.png                    1242x2208
Default-Landscape-736h.png          2208x1242
Default-Landscape@~ipadpro.png      2732x2048
Default-Landscape@2x~ipad.png       2048x1536
Default-Landscape~ipad.png          1024x768
Default-Portrait@~ipadpro.png       2048x2732
Default-Portrait@2x~ipad.png        1536x2048
Default-Portrait~ipad.png           768x1024
Default@2x~iphone.png               640x960
Default~iphone.png                  320x480

关于android - ionic 闪屏尺寸,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45561932/

相关文章:

angular - Ionic 5 中 CanDeactivate 守卫的导航问题

javascript - 使用 Ionic 3 从 JSON 数据筛选器的搜索栏

javascript - 制作一个 $window.location.reload(true);在 Ionic/Angular 中只执行一次

android - 取消共享元素转换

android - mpAndroidChart java.lang.NegativeArraySizeException : -46 for Kotlin

ios - 从手机系统日历更新日历 'start of week'

ios - 在 iOS 5.0 及更低版本上使用 Embed segues 的应用程序

ios - removeObjectsAtIndexes 导致崩溃

java - 将位图转换为字节数组,字符串,然后一路返回

java - 我想在一个 Activity 中调用 MotionEvent.ACTION_DOWN,在另一个 Activity 中调用 MotionEvent.ACTION_UP