0

キーボードがランドスケープモードで正しく配置されません(下記参照)。 edittext以外のすべてのコントロールをコメントアウトしても問題は残っていますが、これは問題がレイアウトにないと信じています。どのように私はこれを修正することができますか?キーボードがランドスケープモードで正しく表示されない

肖像画でうまく動作します。

ここに私のマニフェストファイルは、私はそれがエミュレータの問題だと思う

<application 
    android:icon="@drawable/ic_launcher" 
    android:label="@string/app_name" > 
    <activity 
     android:label="@string/app_name" 
     android:name=".MainActivity" 
     android:screenOrientation="landscape" 
     > 
     <intent-filter > 
      <action android:name="android.intent.action.MAIN" /> 
      <category android:name="android.intent.category.LAUNCHER" /> 
     </intent-filter> 
    </activity> 
</application> 

と良い測定のための単純化されたレイアウトファイル

<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:orientation="horizontal" > 
<EditText 
    android:id="@+id/editText1" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:layout_weight="1"> 
    <requestFocus /> 
</EditText> 
</LinearLayout> 

enter image description here

答えて

0

です。実際のデバイスでテストし、その結果を見ることができます。

+0

ありがとうございました。そうです。それがなぜ行われるのか、軽減する方法についての洞察はありますか? – Nav

関連する問題