Code:
if (isChecked) {
editText.setFocusable(false);
editText.setEnabled(false);
} else {
editText.setEnabled(true);
editText.setFocusable(true);
}
So this is called after a checkbox is clicked on. When it's checked the textbox goes gray and it cannot gain focus. When it's unchecked the textbox goes white again, but it still cannot gain focus. So the problem here is that an edit text view cannot regain focus after being re-focusable. isFocusable returns true. Is this a bug???? I've been looking for an answer for quite a while.