mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-12 05:00:20 -05:00
Updated message compose screen to display more appropriate input types. Ex: email friendly soft keyboard when focus is on the TO field.
This commit is contained in:
parent
a4965f042c
commit
edc4281253
@ -27,6 +27,8 @@
|
|||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
android:layout_marginLeft="6px"
|
android:layout_marginLeft="6px"
|
||||||
android:layout_marginRight="6px"
|
android:layout_marginRight="6px"
|
||||||
|
android:inputType="textEmailAddress|textMultiLine"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
android:hint="@string/message_compose_to_hint" />
|
android:hint="@string/message_compose_to_hint" />
|
||||||
<MultiAutoCompleteTextView
|
<MultiAutoCompleteTextView
|
||||||
android:id="@+id/cc" android:layout_width="fill_parent"
|
android:id="@+id/cc" android:layout_width="fill_parent"
|
||||||
@ -35,6 +37,8 @@
|
|||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
android:layout_marginLeft="6px"
|
android:layout_marginLeft="6px"
|
||||||
android:layout_marginRight="6px"
|
android:layout_marginRight="6px"
|
||||||
|
android:inputType="textEmailAddress|textMultiLine"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
android:hint="@string/message_compose_cc_hint"
|
android:hint="@string/message_compose_cc_hint"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
<MultiAutoCompleteTextView
|
<MultiAutoCompleteTextView
|
||||||
@ -44,6 +48,8 @@
|
|||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
android:layout_marginLeft="6px"
|
android:layout_marginLeft="6px"
|
||||||
android:layout_marginRight="6px"
|
android:layout_marginRight="6px"
|
||||||
|
android:inputType="textEmailAddress|textMultiLine"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
android:hint="@string/message_compose_bcc_hint"
|
android:hint="@string/message_compose_bcc_hint"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
<EditText android:id="@+id/subject"
|
<EditText android:id="@+id/subject"
|
||||||
@ -55,7 +61,9 @@
|
|||||||
android:layout_marginLeft="6px"
|
android:layout_marginLeft="6px"
|
||||||
android:layout_marginRight="6px"
|
android:layout_marginRight="6px"
|
||||||
android:hint="@string/message_compose_subject_hint"
|
android:hint="@string/message_compose_subject_hint"
|
||||||
android:autoText="true" android:capitalize="sentences" />
|
android:inputType="textEmailSubject|textAutoCorrect|textCapSentences|textImeMultiLine"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
/>
|
||||||
<!--
|
<!--
|
||||||
Empty container for storing attachments. We'll stick
|
Empty container for storing attachments. We'll stick
|
||||||
instances of message_compose_attachment.xml in here.
|
instances of message_compose_attachment.xml in here.
|
||||||
@ -75,9 +83,11 @@
|
|||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:gravity="left|top"
|
android:gravity="left|top"
|
||||||
android:minLines="3" android:autoText="true"
|
android:minLines="3"
|
||||||
android:capitalize="sentences"
|
android:hint="@string/message_compose_content_hint"
|
||||||
android:hint="@string/message_compose_content_hint" />
|
android:inputType="textMultiLine|textAutoCorrect|textCapSentences"
|
||||||
|
android:imeOptions="actionDone|flagNoEnterAction"
|
||||||
|
/>
|
||||||
<!-- quoted text bar -->
|
<!-- quoted text bar -->
|
||||||
<EditText android:id="@+id/upper_signature"
|
<EditText android:id="@+id/upper_signature"
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
|
Loading…
Reference in New Issue
Block a user