LineView can be used to display book like lines e.g in note taking app, or any scribble app
Any feedback please DM 😊
<com.shazdroid.lineview.LineView
android:id="@+id/lineView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"/>
There are some custom options below.
val lineView = findViewById<LineView>(R.id.lineView)
// change width of strokes //
lineView.setLineWidth(2.5f)
// change color of strokes //
lineView.setLineColor(Color.BLACK)
// change line height (takes Int values)//
lineView.setLineHeight(10)
dependencies {
implementation 'com.github.shazDroid:LineView:1.0.0'
}
PR's are welcome !
Found a Bug ? Create an Issue.
Leave a ⭐ If you think this project is cool.
MIT