Custom list preference dialog layout in Preference Screen, with custom list items

I want to create a custom list dialog when I click on a ListPreference in Settings Activity. ListPreference in root_preferences.xml: