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.
pull/2137/head
powerjungle 6 months ago
parent 897a236501
commit c987144f4a
No known key found for this signature in database
GPG Key ID: 5392BD8A57239AD8

@ -94,8 +94,9 @@
<EditText
android:id="@+id/nameInput"
style="@style/FormInput"
android:maxLines="1"
android:inputType="textCapSentences"
android:maxLines="2"
android:maxLength="50"
android:inputType="textCapSentences|textMultiLine"
android:hint="@string/yes_or_no_short_example"
/>
</LinearLayout>

Loading…
Cancel
Save