Hi,

There is nothing wrong with the code above. You have said when the
image button clicks, it works.
And you need to make the whole entry clickable. all the buttons by
default clickable.

I think you have image button and text or what ever inside a linear
layout or relative layout.
make sure the container of image button and text (i.e. layout)
setClickable(true) then you will be oki.

On Oct 6, 3:51 pm, NaveenShrivastva <[email protected]>
wrote:
> i have two view one is Expandablelist and other is listview plz
> guideline me how to handle here facing listchildclick event
>
> On Thu, Oct 6, 2011 at 8:17 PM, dinesh adwani
>
>
>
>
>
>
>
> <[email protected]> wrote:
> > If you have added any other view like radio button make it
> > setfocasable(false)
>
> > On Oct 6, 2011 3:46 PM, "Naveen" <[email protected]> wrote:
>
> >> i am using custom list , it's
> >> l1.setAdapter(new EfficientAdapter(this));
>
> >>                l1.setFocusable(true);
> >>        l1.setClickable(true);
> >>                l1.setOnItemClickListener(new OnItemClickListener() {
> >>            @Override
> >>            public void onItemClick(AdapterView<?> adapter, View
> >> view,      int pos, long id) {
> >>        Log.i("listview", "clicked1");
>
> >>                                Toast.makeText(getApplicationContext(),
> >>                                                "Child ItemClicked " + pos
> >> ,
> >>                                                Toast.LENGTH_SHORT).show();
>
> >>            }
> >>        });
>
> >> it's not working
>
> >> --
> >> 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
>
> > --
> > 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

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