Make line horizontal in android

hellow guys..
Yeah.. this time, i want to write about make line horizontal. To make line horizontal in android, there are 2 ways, But i just write 1 ways namely write in XML file.

code like this :

<View android:layout_width="fill_parent" android:layout_height="2dip" android:backgroud="#ff0000"/>

Happy codding🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s