Added text in EditText hosted by ListView row is removed upon keyboard closing
<p>I use following GUI setup:</p>

<ul>
<li>ListView activity</li>
<li>CursorAdapter that feeds this list</li>
<li>Layout for activity </li>
<li><p>Layout for rows in ListView : </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="match_parent" android:layout_height="match_parent" 
    android:gravity = "right" &gt;
    &lt;TextView android:id="@+id/text_9_description_top"
        android:layout_width="wrap_content" 
        android:layout_height="fill_parent" android:gravity="right|center_vertical"
        android:layout_alignParentLeft="true"&gt;
    &lt;/TextView&gt;
    &lt;CheckBox android:id="@+id/chkApprovedTabChapter9"
    android:layout_toRightOf="@+id/text_9_description_top"
        android:layout_width="wrap_content" android:layout_height="match_parent"
        android:gravity="right" &gt;
    &lt;/CheckBox&gt;
    &lt;Button android:id="@+id/tabchaprter9_row_button_delete"
        android:layout_height="wrap_content" android:text="leftBtn"
        android:layout_width="wrap_content" android:background="@android:drawable/ic_menu_delete"
        android:layout_toRightOf="@+id/chkApprovedTabChapter9" &gt;
    &lt;/Button&gt;
    &lt;Button android:id="@+id/tabchaprter9_row_button_edit"
        android:layout_width="wrap_content" android:layout_toRightOf="@+id/tabchaprter9_row_button_delete"
        android:text="rightBtn" android:layout_height="match_parent"
        android:background="@android:drawable/ic_menu_edit"&gt;
    &lt;/Button&gt;
    &lt;EditText android:layout_width="wrap_content"
        android:id="@+id/text_9_description_bottom"
        android:layout_toRightOf="@+id/tabchaprter9_row_button_edit"
        android:layout_height="match_parent" android:gravity="right"
        android:layout_alignParentRight ="true"
        android:inputType="text" 
        android:imeOptions="normal"&gt;
    &lt;/EditText&gt;
&lt;/RelativeLayout&gt;
</code></pre></li>
</ul>

<p>Row Layout contains EditText, checkbox and couple of buttons. ListView is filled with setAdapter ().  Apparently ListView is created correctly, I see all rows with data.</p>

<p>First problem : I would like to initially show EditText as disabled so user cant edit text immediately. Only after clicking on "edit" button in the row EditText  must became available for typing. Setting enable "false" has no effect on EditText (tried bot in code and in XML attribs) EditText is always editable.</p>

<p>Second issue: Typing in EditText using softkeyboard looks fine - I see all changes, however when I close softkeyboard (either pressing Android back button or "hide" button on keyboard) all added text is removed and EditText is reverted to its initial stage.</p>

<p>I would be extremely thankful to have any inputs explanations. 
David</p>
