Is there a way to use the ui Components from the preference package without a PreferenceActivity?
I have to build a lot of settingsviews, and i cant use sharedprefernces.
Do i Have to build this all by hand?
Vino
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Preferences are built using normal widgets, such as
ListView,CheckedTextView, etc.You cannot use subclasses of
Preferenceoutside ofPreferenceActivity, though.Use
SharedPreferencesandPreferenceActivityfor user settings.Apparently, yes. Then again, most quality Android applications’ user interfaces are built “by hand”.