write the code in check box .setOnCheckedChangeListener(...) method then
automatically that textbox is chaged according to check box
On Mon, Dec 27, 2010 at 11:13 AM, Andrew <[email protected]> wrote:

> 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.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Praveena Ankitha

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to