Skip to content

Commit

Permalink
Set all EditTexts in the app to use textCapSentences inputType to cap…
Browse files Browse the repository at this point in the history
…italize first letters. (#289)
  • Loading branch information
Gabor Keszthelyi authored and dmfs committed Mar 29, 2017
1 parent 12a9193 commit 64ce6f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions opentasks/src/main/res/layout-v11/text_field_editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<EditText
android:id="@android:id/text1"
style="@style/field_editor_text_value"
android:inputType="textCapSentences"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</EditText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text"
android:inputType="textCapSentences"
android:singleLine="true"
android:textAllCaps="false" >
</EditText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
android:layout_marginTop="12dp"
android:hint="@string/task_list_name_dialog_hint"
android:imeOptions="actionDone"
android:inputType="text"
android:inputType="textCapSentences"
android:minWidth="240dp"
android:textCursorDrawable="@null" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
android:layout_margin="4dp"
android:hint="@string/task_title"
android:imeOptions="actionDone"
android:inputType="text"
android:inputType="textCapSentences"
android:minWidth="240dp" />

<LinearLayout
Expand Down

0 comments on commit 64ce6f2

Please sign in to comment.