1

i am new to custom PreferencesActivity, i am working since three days to get custom preferences, what i want is i want a preferences screen with background image and color views for every preference cell, 1) i had tried with res/xml/preferences.xml, but i cant create background image i had tried with many solutions but i couldn't find any solution. 2)i had tried with res/layout/pref.xml, but i couldn't able to save the settings of preferences

please help me in creating such type of preferencesActivity with background image

target72
  • 17
  • 5
  • There's no putImage() or getImage() in Preferences, nor similar methods. So, **store the path to the image as a string**. – Phantômaxx Aug 04 '14 at 13:53

1 Answers1

0

see How set background drawable programmatically in Android

and save this link http://developer.android.com/reference/android/content/SharedPreferences.html

Community
  • 1
  • 1
QArea
  • 4,955
  • 1
  • 12
  • 22