preferencescreen

Nested preference screens lose theming

I have a preference screen for my application and in the manifest I have given it a theme using: android:theme="@android:style/Theme.Light.WallpaperSettings" However when I nest another preference screen inside this one such as: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res...

With android I want to have 2 preferences with the same key

I have 2 prefs - a song title and the audio state(mute or volume) that I want to store in the same key. This works for the clicks and the only problem I have is resetting the summary on onSharedPreferencesChanged I get errors with this. PreferenceScreen musicPrefScreen = (PreferenceScreen)getPreferenceScreen ().findPreference("...

PreferenceScreen - <intent .../> - Exception - FLAG_ACTIVITY_NEW_TASK

Hi, I am new at android developing. The project is about implementing an AbstractAccountAuthenticator with an AbstractThreadedSyncAdapter to sync certain data on a server with a content provider. I made everything and both adding accounts and syncing is running without any problems. Now I've tried to add a Preference-Screen just like...

Android: How to use Buttons in Preference Screen

I'd like to provide a Button in the PreferenceActivity. The user should be able to set a time (e.g. via TimePicker), but there's no ButtonPreference or something like that. I don't want to use EditTextPreference. So do I have to use a default Button in the PreferenceActivity and save the settings for it manually? Regards, cody ...