Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Make a divider in xml

<--this in styles-->
<style name="Divider">
    <item name="android:layout_width">match_parent</item>
    <item name="android:layout_height">1dp</item>
    <item name="android:background">?android:attr/listDivider</item>
</style>

<-- this use in xml-->
<View style="@style/Divider"/>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Make #divider #xml
ADD COMMENT
Topic
Name
3+7 =