如何使对Galaxy Tab的我的应用程序全屏 [英] How to make my app full screen on Galaxy Tab

查看:155
本文介绍了如何使对Galaxy Tab的我的应用程序全屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试一切我能想到的让我的应用程序,以对Galaxy Tab的全屏显示。

基本上,它的工作原理就像月球着陆器示例应用程序自带的Andr​​oid SDK中。你会怎么做,以使该像银河标签?

大屏幕设备在全屏幕月球着陆器的应用程序的显示

我不关心显卡在这一点上质量,但究竟有多像这样创建一个应用程序可以填满整个屏幕。它主要设计工作一个小320x480 MDPI屏幕上的图像的绘制文件夹,它采用了SurfaceHolder和视图来绘制单个位图。

任何意见?

澄清:对不起,我说的不是全屏幕中移除通知和标题栏,我的意思是一切周围有一个巨大的黑色边框,它的图形不占用整个屏幕。 如果你设置你的目标SDK级别任何低于9,那么对于超大屏幕支持

解决方案

假设是错误的。如果设置targetSdkVersion = 9在清单中,然后XLARGE支持,被认为是真实的。查看的文档支持多画面,特别是兼容模式的说明。

I've been trying everything I can think of to get my app to display full screen on the Galaxy Tab.

Basically, it works like the Lunar Lander example app that comes with the Android SDK. What would you do to make that Lunar Lander app display in full screen on Large screen devices like the Galaxy Tab?

I'm not concerned about the quality of the graphics at this point, but just how an app created like this can fill the screen. It was basically designed to work on a 320x480 MDPI screen with images in the drawable folder and it uses a SurfaceHolder and view to draw the individual bitmaps.

Any advice?

CLARIFICATION: Sorry, I don't mean full screen as in removing the notification and title bar, I mean that everything has a giant black border around it and it the graphics don't take up the whole screen.

解决方案

If you set your target sdk level to anything less than 9, then support for extra-large screens is assumed to be false. If you set targetSdkVersion=9 in the manifest, then xlarge support is assumed to be true. See the documentation on Supporting Multiple Screens, in particular the description of compatibility mode.

这篇关于如何使对Galaxy Tab的我的应用程序全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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