【问题标题】:2.2 emulator in landscape mode2.2 模拟器横屏模式
【发布时间】:2011-10-10 20:08:27
【问题描述】:

我参考了This 我有同样的问题,我也遵循定义的解决方案,但我无法成功查看横向模式。知道为什么这件事会发生吗?

清单文件::

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.saneshApp"
  android:versionCode="1"
  android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />

<application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name=".saneshApp" android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden" 
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
 <activity android:name=".animation_page" ></activity>
</application>
</manifest>

更新::

更新

【问题讨论】:

  • 您使用的是android vnc 查看器吗?我不明白你想做什么。你在清单中这么说android:screenOrientation="landscape" 为什么你希望看到纵向模式?
  • 不,我使用的是 android 默认 avd 2.2
  • 什么是横向?你想使用风景吗?你想使用肖像吗?你想改变模拟器的方向吗?你可以通过按 ctrl + f12 来做到这一点。
  • 你的问题不是很清楚。你的意思是你的模拟器不是横向模式?也许这个stackoverflow.com/questions/2618967/… 可以帮助你。
  • 你不能旋转模拟器吗?

标签: android android-emulator


【解决方案1】:

使用 ctrl+f12 旋转模拟器。有人认为使用左 ctrl 键,因为右 ctrl 键不适用于旋转模拟器。

【讨论】:

    【解决方案2】:

    您可以在此处找到键盘映射: Emulator settings

    在该页面上向下滚动。您可以通过按 CTRL+F12 更改方向

    【讨论】:

    • 我也试过了,但是不能...,我有什么更新我的问题的方法请看
    猜你喜欢
    • 2011-11-15
    • 2012-12-14
    • 1970-01-01
    • 2011-02-06
    • 2013-10-13
    • 2013-08-28
    • 1970-01-01
    • 1970-01-01
    • 2012-08-11
    相关资源
    最近更新 更多