Note that there are some explanatory texts on larger screens.

plurals
  1. POSoftKeyboard moves my TextViews out of display
    primarykey
    data
    text
    <p>I know this question was asked properly before, but all answers i found didnt work for me. so heres my issue:</p> <p>when i call my players activity (to enter playernames) it looks like this: </p> <p><img src="https://i.stack.imgur.com/Lazhz.png" alt="enter image description here"></p> <p>but when i click on <code>01. Player</code> this happens:</p> <p><img src="https://i.stack.imgur.com/ibYV3.png" alt="enter image description here"></p> <p>and i am not able to scroll up.</p> <p>I want the display to keep the first players on screen, and not moving the players 1 to 3 out of screen. </p> <p>Heres my XML:</p> <p> </p> <pre><code>&lt;ScrollView android:id="@+id/scrollView1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" tools:ignore="UselessParent" &gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" tools:ignore="ScrollViewSize" &gt; &lt;TextView android:id="@+id/TV_player01" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player02" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player02" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player03" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player03" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player04" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player04" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player05" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player05" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player06" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player06" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player07" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player07" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player08" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player08" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player09" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player09" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player10" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player10" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player11" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player11" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player12" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player12" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player13" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player13" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player14" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player14" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player15" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player15" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:nextFocusDown="@+id/TV_player16" android:textAllCaps="false" /&gt; &lt;TextView android:id="@+id/TV_player16" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:clickable="true" android:ems="10" android:textAllCaps="false" /&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; &lt;LinearLayout android:id="@+id/CONT_laynameinputbottom" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="4" &gt; &lt;EditText android:id="@+id/ET_nameinput" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:ems="10" android:inputType="text|textCapWords" android:maxLength="16" android:selectAllOnFocus="true" android:textAllCaps="false" tools:ignore="NestedWeights" &gt; &lt;requestFocus /&gt; &lt;/EditText&gt; &lt;LinearLayout android:id="@+id/CONT_ni_button" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" android:orientation="horizontal" &gt; &lt;Button android:id="@+id/BTN_ni_exit" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" /&gt; &lt;Button android:id="@+id/BTN_ni_next" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" /&gt; &lt;Space android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" /&gt; &lt;Button android:id="@+id/BTN_ni_clearall" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="3" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p></p> <p>please help</p> <p>EDIT: I add my Manifest, too.</p> <p>Manifest:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="bowltec.control" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="15" android:targetSdkVersion="16" tools:ignore="OldTargetApi" /&gt; &lt;supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" /&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" /&gt; &lt;application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" &gt; &lt;activity android:name="bowltec.control.MainFrame" android:screenOrientation="landscape" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name="bowltec.control.GameSettings" android:screenOrientation="landscape" /&gt; &lt;activity android:name="bowltec.control.ConfirmChosen" android:screenOrientation="landscape" /&gt; &lt;activity android:name="bowltec.control.NameInput" android:screenOrientation="landscape" android:windowSoftInputMode="adjustResize" /&gt; &lt;activity android:name="bowltec.control.GameList" android:screenOrientation="landscape" /&gt; &lt;activity android:name="bowltec.control.Correction" android:screenOrientation="landscape" /&gt; &lt;activity android:name="bowltec.control.Menu" android:screenOrientation="landscape" /&gt; &lt;activity android:name="bowltec.control.Language" android:screenOrientation="landscape" /&gt; &lt;activity android:name="bowltec.control.AddLang" android:screenOrientation="landscape" /&gt; &lt;/application&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload