Added notes color

This commit is contained in:
M66B
2021-04-08 09:40:21 +02:00
parent a7ec00e6ea
commit 4497fb060c
9 changed files with 2554 additions and 44 deletions

View File

@@ -320,10 +320,10 @@ public class FragmentBase extends Fragment {
super.onDetach();
try {
InputMethodManager im = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
View focused = getActivity().getCurrentFocus();
if (focused != null)
im.hideSoftInputFromWindow(focused.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
if (imm != null && focused != null)
imm.hideSoftInputFromWindow(focused.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
} catch (Throwable ex) {
Log.w(ex);
/*