How to Create Vertical and Horizontal Lines in Android Using XML

In android, there are many ways to draw lines. In this example, I will show how to create vertical and horizontal lines in android using android XML. Here, I have drawn vertical and horizontal lines using android <View --------/>.

Check Internet Connection in Android
How to Implement Ripple Effect in Android
Android WebView Tutorial with Example

Vertical Line in Android


How to Create Vertical Line in Android Using XML
Android Vertical Line Example

Horizontal Line in Android


How to Create Horizontal Lines in Android Using XML
Android Horizontal Line Example

XML 171543050135023848
Home item