I have this EditText
:
<EditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/inputText"
android:inputType="textCapCharacters|textMultiLine"
android:hint="@string/input_text_hint"
android:gravity="top|left"/>
When I select it while my phone is horizontal, I see this:
But when I select it while my phone is vertical, I see this:
When the phone is vertical, I want the "DONE" button to appear like it does when the phone is horizontal.
I also want the return key to move the cursor down a line when its pressed.
How do I do this?
EDIT
Full activity_main.xml
in case anyone's wondering...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"
android:weightSum="18"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="13">
<EditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/inputText"
android:inputType="textCapCharacters|textMultiLine"
android:hint="@string/input_text_hint"
android:gravity="top|left"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2">
<Button
android:background="@drawable/main_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/big_button"
android:id="@+id/bigButton"
android:textSize="68sp"
android:focusableInTouchMode="false"
android:fontFamily="sans-serif-black"
style="@style/button_text"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="3"
android:clickable="false"></LinearLayout>
</LinearLayout>