Task form text color fix

This commit is contained in:
Phillip Thelen 2020-07-28 12:31:49 +02:00
parent eae77cfad5
commit ae992accfe
2 changed files with 7 additions and 2 deletions

View file

@ -54,7 +54,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/task_title"
android:textColor="?attr/toolbarContentColor"
android:textColor="?attr/colorPrimaryText"
android:inputType="textCapSentences|textAutoCorrect"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
@ -71,7 +71,7 @@
android:hint="@string/notes"
android:minLines="3"
android:gravity="top"
android:textColor="?attr/toolbarContentColor"
android:textColor="?attr/colorPrimaryText"
android:inputType="textCapSentences|textAutoCorrect|textMultiLine"/>
</com.google.android.material.textfield.TextInputLayout>
<TextView

View file

@ -232,6 +232,11 @@ class TaskFormActivity : BaseActivity() {
configureForm()
}
override fun onStart() {
super.onStart()
textEditText.requestFocus()
}
override fun onCreateOptionsMenu(menu: Menu): Boolean {
if (isCreating) {
menuInflater.inflate(R.menu.menu_task_create, menu)