Android corners cover view.
allprojects {
repositories {
...
maven { url 'https://www.jitpack.io' }
}
}
dependencies {
...
implementation 'com.github.reour:CornersCoverView:1.0'
}
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/your_view"
android:layout_width="200dp"
android:layout_height="120dp" />
<com.reour.library.view.CornersCoverView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="200dp"
android:layout_height="120dp"
app:corners_color="#23FF11"
app:corners_radius="60dp" />
</RelativeLayout>
- app:corners_radius
- app:left_top_radius
- app:left_bottom_radius
- app:right_top_radius
- app:right_bottom_radius
- app:corners_color
- app:left_top_color
- app:left_bottom_color
- app:right_top_color
- app:right_bottom_color
- 1.0.
- Initial release