Custom PreferenceCategory Headings

前端 未结 4 1015
耶瑟儿~
耶瑟儿~ 2020-11-28 19:45

I have a simple preference screen defined like this


    

        
4条回答
  •  误落风尘
    2020-11-28 20:23

    @inazaruk gave the answer well enough but since the recent updates, ADT 18 and above, there are some restrictions on the styles giving the error

    Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.TextView.ListSeparator'.

    See this link for reason of the problem and the solution. Since this post doesn't provide a code for understanding i am providing my code here

     
    
    
    
    
    

提交回复
热议问题