Tweak title settings

pull/996/head
Alex Baker 5 years ago
parent e42df0fb7b
commit 290584de16

@ -169,9 +169,8 @@ public final class TaskEditFragment extends InjectingFragment
toolbar.setOnMenuItemClickListener(this);
themeColor.apply(binding.collapsingtoolbarlayout, toolbar);
EditText title = binding.title;
title.setTextKeepState(model.getTitle());
title.setText(model.getTitle());
title.setHorizontallyScrolling(false);
title.setLines(1);
title.setTextColor(themeColor.getColorOnPrimary());
title.setHintTextColor(themeColor.getHintOnPrimary());
title.setMaxLines(5);

@ -36,7 +36,6 @@
android:layout_gravity="top"
android:background="@null"
android:gravity="start"
android:freezesText="true"
android:textAppearance="?attr/textAppearanceHeadline5"
android:hint="@string/TEA_title_hint"
android:imeOptions="flagNoExtractUi"

Loading…
Cancel
Save