The Android Design - Lists page describes "section dividers". I'm aware you can use addHeaderView()
a ListView
for a similar effect. I would like to use a "section divider" without a ListView
, but rather a LinearLayout
.
In the screenshot below, I'm referring to the blue text "Phone" and "Email" which also has an line below it. The screenshot is from Android Design - Text Fields
How do I go about adding it to my layout? It it simply a TextView plus a horizontal line?