0

I am using two SwitchPreferences inside a PreferenceCategory and the xml is as follows.

<PreferenceCategory 
android:title="Control usage of the PIN" >
    <SwitchPreference
        android:key="pin_onmessage_onoff"
        android:summary="For Message"
        android:title="Use for Message" />
    <SwitchPreference
        android:key="pin_onvault_onoff"
        android:summary="For Vault"
        android:title="Use for Vault" />
</PreferenceCategory>

The background of each SwitchPreference is the colorPrimary value. My question is how I could remove the background color from the Preferences?

Note : Can't attach a screenshot where Image upload redirects to a blank page.

vidulaJ
  • 1,232
  • 1
  • 16
  • 31

0 Answers0