Question

I have problems with the settings for a sync adapter / authenticator. I can add CheckBoxPreferences, SwitchPreferences and PreferenceScreens but I don't know how to set up the settings for the accounts sync :-( When I tap on the sync entry I see this screen on the right side. But I want a screen where I can switch the sync on and off... like the account setting from my Google account.

How to do that?

enter image description here

Was it helpful?

Solution

Okay I found it. I have to set the sync adapter visible:

android:userVisible="true"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top