支持不同尺寸的安卓视频 [英] Support different video sizes for Android
问题描述
我正在创建一个正在播放视频的应用程序(作为启动画面),但我很困惑每个不同屏幕的正确尺寸.
I am creating an App that is playing a video (as splash screen) but I am confused which are the correct sizes for each different screen.
我已经查了很多答案(这个链接确实有帮助,但仍然不清楚) 和官方文档,但它仍然让我感到困惑.
I have already checked a lot of answers (this link was indeed helpful but still not clear) and official documentations but it is still confusing me.
我创建了以下文件夹:raw-ldpi、raw-mdpi、raw-hdpi、raw-xhdpi、raw-xxhdpi、raw-xxxhdpi
但是正确的视频尺寸是多少 用于上述每个不同文件夹?
I created the following folders:raw-ldpi, raw-mdpi, raw-hdpi, raw-xhdpi, raw-xxhdpi, raw-xxxhdpi
BUT what are the correct video sizes for each of the above different folder?
例如对于 raw-ldpi
正确的视频尺寸是多少?(即 240 x 360)
For example for raw-ldpi
what are the correct video dimensions? (i.e 240 x 360)
推荐答案
I found out the following resolutions from this site and this official documentation but I am not sure if those are the correct.
如果有人知道或有经验,请告诉我.
If someone knows or has experience with please let me know.
320 x 240
640 x 480
720 x 480
1280 x 720
1920 x 1080
1920 x 1080
这篇关于支持不同尺寸的安卓视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!