mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Focusable spinner
This commit is contained in:
@@ -533,15 +533,6 @@ public class FragmentRule extends FragmentBase {
|
||||
adapterAction.setDropDownViewResource(R.layout.spinner_item1_dropdown);
|
||||
spAction.setAdapter(adapterAction);
|
||||
|
||||
spAction.setFocusableInTouchMode(true);
|
||||
spAction.setOnFocusChangeListener(new View.OnFocusChangeListener() {
|
||||
@Override
|
||||
public void onFocusChange(View v, boolean hasFocus) {
|
||||
if (hasFocus && spAction.getWindowToken() != null)
|
||||
spAction.performClick();
|
||||
}
|
||||
});
|
||||
|
||||
btnFolder.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
||||
Reference in New Issue
Block a user