支持Android的不同视频大小 [英] 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
320 x 240
640 x 480
640 x 480
720 x 480
720 x 480
1280 x 720
1280 x 720
1920 x 1080
1920 x 1080
这篇关于支持Android的不同视频大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!