[英]How to Set Overhang tag in all Resolution?
I set overhang tag in my XML file like below.我在 XML 文件中设置了悬垂标签,如下所示。
<Overhang
translation="[100,10]"
logoUri="pkg:/images/logo.png"
optionsText="Menu"
optionsAvailable="true"
height="170"
/>
I use Roku Device both the resolution 720P and 1080P, But I can only set one resolution proper not both resolution.我使用 Roku Device 的分辨率为 720P 和 1080P,但我只能设置一种分辨率,不能同时设置两种分辨率。 Is there any way to both the resolution display proper.
有什么办法可以同时显示正确的分辨率。
You can set ui_resolutions=fhd
in your manifest, and then give Your overhang width, height and translation the values only for fhd resolution.您可以在清单中设置
ui_resolutions=fhd
,然后为您的悬垂宽度、高度和平移提供仅用于 fhd 分辨率的值。 ui_resolutions=fhd
will tell the Roku that You will take care of fhd resolution and that ROKU should take care and scale from this resolution to hd and sd. ui_resolutions=fhd
将告诉 Roku 您将处理 fhd 分辨率,并且 ROKU 应该注意并从该分辨率缩放到 hd 和 sd。 You can find more about this in the link .您可以在链接中找到更多相关信息。 Take a good look at
autoscaling guidelines
section.仔细查看
autoscaling guidelines
部分。
If You don't want to do it like that and still would like to handle fhd
and hd
, please check ifDeviceInfo and functions like GetUIResolution()
, GetDisplaySize()
.如果您不想那样做但仍想处理
fhd
和hd
,请检查ifDeviceInfo和GetUIResolution()
、 GetDisplaySize()
等函数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.