三星Galaxy Tab模拟器占据整个显示器大小 [英] samsung galaxy tab emulator occupy full monitor size

查看:144
本文介绍了三星Galaxy Tab模拟器占据整个显示器大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜的朋友
 我创建应用程序的三星Galaxy Tab。在创建AVD给予分辨率宽度1024和高度600,我给屏幕尺寸7。我不知道如何给显示器dpi和规模,但我的仿真器占据整个显示器大小,所以我不能够最大限度地减少后退按钮不来就可以有人告诉如何正确带来模拟器?

Hi friends I am creating application for samsung galaxy tab . while creating avd giving resolution width 1024 and height 600 I am giving screen size 7 .I don't know how to give monitor dpi and scale but my emulator is occupying full monitor size so i am not able to minimize back button is not coming can anybody tell how to bring emulator properly?

感谢

推荐答案

您可以在普通分辨率的模拟器测试您的应用,1024 * 600是不需要的。

You can test your app in an emulator with normal resolution, 1024 * 600 is not required.

在您的Andr​​oidManifest.xml中只需添加以下code,以确保应用程序在所有的屏幕尺寸上运行:

In your AndroidManifest.xml just add the following code to ensure that the app runs on all screen sizes:

<supports-screens
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>

这篇关于三星Galaxy Tab模拟器占据整个显示器大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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