May I know how I can change the color of divider in LinearLayout
?
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:orientation="horizontal"
android:divider="?android:attr/dividerVertical"
android:dividerPadding="12dip"
android:showDividers="middle"
android:background="#ff2d2d2d" >
...
</LinearLayout>
Do I need to manually copy 9 patch image from Android SDK into my project, and define my own attribute to refer it?