draw line under TextView on Android

后端 未结 4 1720
野性不改
野性不改 2021-02-07 00:05

I have a layout that adds textviews dynamically and i want to divide each textview with a line.

Something like that:

TextView


TextView


<
4条回答
  •  天涯浪人
    2021-02-07 00:52

    just add this style:

    style="?android:listSeparatorTextViewStyle"
    

    to your TextView

提交回复
热议问题