As part of my application, I have simple screen for entering text. When the focus is in the EditText, it never receives the tab character.
I press on the tab key on the virtual keyboard, but the behaviour is that the keyboard disappears.
Here is my layout :
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Intitulé"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
android:id="@+id/etTextTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:inputType="textCapSentences"
android:singleLine="true"
android:imeOptions="actionNext" >
<requestFocus />
</EditText>
<TextView
android:id="@+id/tvContent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Contenu"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
android:id="@+id/etText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="left|top"
android:layout_marginLeft="15dp"
android:textSize="25sp"
android:lineSpacingExtra="4dp"
android:singleLine="false"
android:inputType="textMultiLine"
android:scrollHorizontally="false"
android:scrollbarStyle="insideOverlay"
android:scrollbars="vertical"
android:overScrollMode="always" />
</LinearLayout>
The control in question is the last EditText, as it is multiline, with scrolling.
I need to provide this so that the user can do some (very) basic formatting.
Any ideas ?