Skip to content Skip to sidebar Skip to footer

Where Is Widget.material.light.textview.listseparator Defined?

I'm working through the book 'Android Programming' (2nd Edition) by the Big Nerd Ranch Guide. Page 152 contains the markup:

Solution 1:

It's in the styles_material.xml (found here).

<stylename="Widget.Material.TextView.ListSeparator"parent="Widget.TextView.ListSeparator"><itemname="background">@drawable/list_section_divider_material</item><itemname="textAllCaps">true</item></style><stylename="Widget.Material.Light.TextView.ListSeparator"parent="Widget.Material.TextView.ListSeparator"/>

Widget.TextView.ListSeparater is the parent and can be found in the regular styles.xml:

<stylename="Widget.TextView.ListSeparator"><itemname="background">@drawable/dark_header_dither</item><itemname="layout_width">match_parent</item><itemname="layout_height">wrap_content</item><itemname="textStyle">bold</item><itemname="textColor">?textColorSecondary</item><itemname="textSize">14sp</item><itemname="gravity">center_vertical</item><itemname="paddingStart">8dip</item></style>

Post a Comment for "Where Is Widget.material.light.textview.listseparator Defined?"