Skip to content

shazDroid/LineView

Repository files navigation

LineView Android !

☢️ What's a LineView ?

LineView can be used to display book like lines e.g in note taking app, or any scribble app

Any feedback please DM 😊


🌻 Usage

<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.

Kotlin

  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)  

Installation

dependencies {
   implementation 'com.github.shazDroid:LineView:1.0.0'
}

💙 Contributing

PR's are welcome !

Found a Bug ? Create an Issue.


💖 Like this project ?

Leave a ⭐ If you think this project is cool.

Share with the world


👨‍💻 Author

Shahbaz Ansari

shahbazansari52@gmail.com


🍁 Licence

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages