发现它与以前相同: <TextView android:id="@+id/txt_section" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Section text" style="?android:attr/listSeparatorTextViewStyle"/>