Note that there are some explanatory texts on larger screens.

plurals
  1. POEditText field is too large or overwritten
    primarykey
    data
    text
    <p>How can I format a header, a list, and an EditText so that the EditText is a fixed single line and always visible? Here is my layout with only one list entry - EditText fills the rest of the screen which looks bad. <img src="https://i.stack.imgur.com/dKkKa.png" alt="enter image description here"></p> <p>Here is the layout with several list entries - the soft keyboard hides the text being typed. I was typing in Wayne. <img src="https://i.stack.imgur.com/HO8WR.png" alt="enter image description here"></p> <p>I have tried a various Linear and Relative layouts. Here is my current Layout:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" &gt; &lt;TextView android:id="@+id/select_child_header" style="@style/headerStyle" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:background="@color/start_blue" android:text="Which child did you take a picture of?" /&gt; &lt;fragment xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/modchild_fragment" android:name="com.chex.control.ChildList" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/select_child_header" android:focusable="true" android:focusableInTouchMode="true" &gt; &lt;/fragment&gt; &lt;EditText android:id="@+id/new_child" style="@style/editTextStyle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_below="@id/modchild_fragment" android:hint="new child name" android:inputType="text" android:singleLine="true" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>I appreciate any advice on how to format this screen.</p>
    singulars
    1. This table or related slice is empty.
    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