I created a layout and attached to a preference

<Preference
            android:key="key"
            android:layout="@layout/image_preference"
            />

That displays correctly - title, sub-title w/ a imagebutton to the right.

The layout's root is a LinearLayout w/ an id of "@+android:id/widget_frame"


The problem is now the preference's onclick is not getting triggered.

Also - i'd like to get a callback from the imagebutton.

I haven't subclassed Preference class.

Is that what I have to do?


                

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to