Attempt to fix focus on folder search

This commit is contained in:
M66B 2020-04-04 14:27:07 +02:00
parent 703da41b6c
commit aa24111cd7
2 changed files with 3 additions and 8 deletions

View File

@ -23,7 +23,6 @@ import android.app.Dialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
@ -190,13 +189,6 @@ public class FragmentDialogFolder extends FragmentDialogBase {
}
});
new Handler().post(new Runnable() {
@Override
public void run() {
etSearch.clearFocus();
}
});
Bundle args = new Bundle();
args.putLong("account", account);

View File

@ -3,6 +3,9 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="beforeDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:padding="12dp">
<eu.faircode.email.FixedTextView