Preference pref = new Preference(this); pref.setWidgetLayoutResource(R.layout.pref); // no worky! pref.setOnPreferenceClickListener(this);
If I set a preference's widget layout resource with a button type of widget (checkbox, button, toggle, radio) the preference will than no longer respond to OnClick ... I assume this is on purpose? Is there a way to set the widget resource to a button type and still allow preference OnClick handler ability and separate widget button click handler? -- 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

