Focusable spinner

This commit is contained in:
M66B
2024-07-09 20:15:46 +02:00
parent 105f3fc491
commit 5799a99feb
29 changed files with 151 additions and 84 deletions

View File

@@ -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) {