Customize divider / separator in dropdown of an AutocompleteTextview

前端 未结 4 1815
情深已故
情深已故 2020-12-16 14:14

I\'ve seen this question asked some other times on the site, but no one couldn\'t get any answer.

Is there any way to customize the appearance of the divider in the

4条回答
  •  情书的邮戳
    2020-12-16 14:52

    I didnt find any divider properties so I did this

    
    
    
    
    
    

    So wat im doing is I have a background color for the Linear layout and another background color for the text View (textView's background color overlaps the linear layout's background color) now using the margin property and setting the bottom margin of textview to 1dp u'll get a clean line between elements....

提交回复
热议问题