mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
style: allow adding newlines in the "Name" field
Since habit names are already shown with 2 lines in the main view, it makes sense to allow an user to add newlines to the names. This opens up the possibility for having better formatted text for the habit name. As suggested by another user, having markdown support would also be a good addition at some point.
This commit is contained in:
@@ -94,8 +94,9 @@
|
|||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/nameInput"
|
android:id="@+id/nameInput"
|
||||||
style="@style/FormInput"
|
style="@style/FormInput"
|
||||||
android:maxLines="1"
|
android:maxLines="2"
|
||||||
android:inputType="textCapSentences"
|
android:maxLength="50"
|
||||||
|
android:inputType="textCapSentences|textMultiLine"
|
||||||
android:hint="@string/yes_or_no_short_example"
|
android:hint="@string/yes_or_no_short_example"
|
||||||
/>
|
/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user