Setting clickable to false lets clicks through to what is underneath
it. You should set clickable to true, so that it takes the clicks and
nothing else gets them. Setting a listener will set this to true
anyway, though.

On Sep 21, 4:40 am, Marco Alexander Schmitz
<[email protected]> wrote:
> hi,
>
> I'd like to add a transparent panel (relativelayout) with fill_parent
> in width and height.
>
> I want to use this "glasspane" in order to block all buttons
> underneath.
>
> Unfortunately I cannot find the right setter / xml  attribute for
> this.
>
> These wont work:
>
> .setEnabled(false);
> .setPressed(false);
> .setClickable(false);
> .setFocusable(false);
> .setSaveEnabled(false);
> .setSelected(false);
>
> Maybe its better to understand if I tell you that I want to create my
> own dialog without extending the class Dialog.
>
> A dialog also puts a transparent glasspane above all and absorbs all
> clicks underneath...
>
> Thanks for helping,
> Marco

-- 
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