Android Checkbox preference
I cannot find any tutorials on checkbox preference. I can use a listpreference, but I can't use checkbox preference. For now, I want that if user sets on the checbox, a toast msg says "true" and if he sets it off, the toast msg says "false". So far I have this: preferences.xml: <CheckBoxPreference android:title="Show Call UI" android:defaultValue="true" android:summary="Show Call Interface when clicking call button" android:key="checkboxPref" /> EditPreferences.java: public class EditPreferences extends PreferenceActivity { String listPreference; boolean checkboxPreference; @Override public