Skip to content

ArtemDevAp/Diagonal-ImageView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiagonalImageView

Diagonal ImageView for Android, written in Kotlin

It is possible to set the slope of the line left / right, defaulted to the right

Usage

<com.customView.DiagonalImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:angleDirection="left" <-- or app:angleDirection="right"
android:src="@drawable/example"
app:heightDiagonal="80dp" />

Example

Releases

No releases published

Packages

No packages published