diff options
-rw-r--r-- | app/src/main/java/org/connectbot/HostEditorFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/org/connectbot/HostEditorFragment.java b/app/src/main/java/org/connectbot/HostEditorFragment.java index 2ef40b3..392e870 100644 --- a/app/src/main/java/org/connectbot/HostEditorFragment.java +++ b/app/src/main/java/org/connectbot/HostEditorFragment.java @@ -204,6 +204,7 @@ public class HostEditorFragment extends Fragment { mQuickConnectContainer = (TextInputLayout) view.findViewById(R.id.quickconnect_field_container); + /* Request focus on creation because elements in this fragment do not autofocus. */ mQuickConnectContainer.requestFocus(); mQuickConnectField = (EditText) view.findViewById(R.id.quickconnect_field); @@ -319,6 +320,7 @@ public class HostEditorFragment extends Fragment { @Override public void onStartTrackingTouch(SeekBar seekBar) { + /* Clear focus on font size EditText so its text value can update. */ mFontSizeText.clearFocus(); } |