mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 13:19:02 +00:00
Merge pull request #394 from dbarnett/edittext
Add android:inputType="textCapSentences" to auto-capitalize first letter of most EditText widgets
This commit is contained in:
commit
1f34c8c8a7
4 changed files with 11 additions and 6 deletions
|
|
@ -31,7 +31,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:hint="@string/text"
|
||||
android:textColor="@android:color/black" />
|
||||
android:textColor="@android:color/black"
|
||||
android:inputType="textCapSentences" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
|
||||
<android.support.design.widget.TextInputLayout
|
||||
|
|
@ -45,7 +46,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:hint="@string/notes"
|
||||
android:textColor="@android:color/black" />
|
||||
android:textColor="@android:color/black"
|
||||
android:inputType="textCapSentences" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
|
||||
<android.support.design.widget.TextInputLayout
|
||||
|
|
@ -186,7 +188,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/new_checklist_item" />
|
||||
android:hint="@string/new_checklist_item"
|
||||
android:inputType="textCapSentences" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/add_checklist_button"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:id="@+id/item_edittext"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="4dp" />
|
||||
android:layout_marginLeft="4dp"
|
||||
android:inputType="textCapSentences" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -22,7 +22,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:textColor="@android:color/black"
|
||||
android:hint="Add Tag" />
|
||||
android:hint="Add Tag"
|
||||
android:inputType="text" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
|
||||
<Button
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
android:layout_margin="5dp"
|
||||
android:hint="Write Message"
|
||||
android:textColor="@android:color/black"
|
||||
/>
|
||||
android:inputType="textCapSentences" />
|
||||
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue