Android Drawing Separator/Divider Line in Layout? -


i draw line right in middle of layout , use separator of other items textview. there widget this. don't want use image hard match other components it. , want relatively positioned well. thanks

i use code add horizontal line:

<view     android:layout_width="match_parent"     android:layout_height="1dp"     android:background="@android:color/darker_gray"/> 

to add vertical separator, switch layout_width , layout_height values


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -