支持Android的不同视频大小 [英] Support different video sizes for Android

查看:72
本文介绍了支持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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆