diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsImporter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsImporter.kt index 63dd3b545..2e4eccdea 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsImporter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsImporter.kt @@ -168,7 +168,7 @@ class IcsImporter { return if (title.startsWith(";") && title.contains(":")) { title.substring(title.lastIndexOf(':') + 1) } else { - title.substring(1, Math.min(title.length, 50)) + title.substring(1, Math.min(title.length, 80)) } } diff --git a/app/src/main/res/layout/activity_event.xml b/app/src/main/res/layout/activity_event.xml index cdc5e5f2f..6cc92b70d 100644 --- a/app/src/main/res/layout/activity_event.xml +++ b/app/src/main/res/layout/activity_event.xml @@ -21,7 +21,7 @@ android:layout_marginTop="@dimen/activity_margin" android:hint="@string/title" android:inputType="textCapSentences" - android:maxLength="50" + android:maxLength="80" android:maxLines="1" android:minEms="20" android:textCursorDrawable="@null" diff --git a/app/src/main/res/layout/dialog_event_type.xml b/app/src/main/res/layout/dialog_event_type.xml index 661e3f412..ac3c3deed 100644 --- a/app/src/main/res/layout/dialog_event_type.xml +++ b/app/src/main/res/layout/dialog_event_type.xml @@ -23,7 +23,7 @@ android:layout_marginLeft="@dimen/small_margin" android:layout_marginStart="@dimen/small_margin" android:inputType="textCapSentences" - android:maxLength="50" + android:maxLength="80" android:singleLine="true" android:textCursorDrawable="@null"/>