change background color of Preference

后端 未结 8 1809
北荒
北荒 2020-12-02 10:25

I have a PreferenceCategory, xml file and I have defined all preferences in it, I call this from class that extends PreferenceActivity. I am unable

8条回答
  •  醉酒成梦
    2020-12-02 10:51

    Please specify a linear layout with a textview attached and specify background color and attach this xml to preferencecategory using the layout property.

    
    

    Where preftitle is an xml which has a linear layout and text view attached.

提交回复
热议问题