I am unable to customize my checkbox , although I have defined the background in the xml preference file, it doesn\'t pull the file. 1. I am trying to display custom images
There are two ways to achieve what you need, first is to define custom checkbox layout custom_chexbox.xml at res/layout:
Then you need to specify this layout for the preference:
Second way is to create a custom theme, redefine style for checkbox views and apply the theme to the preferences activity, see How to customize the color of the CheckMark color in android in a dialog. : android for details.