RoundLayout
XML 圆角布局
<com.prohua.roundlayout.RoundAngleFrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:radius="15dp">
...todo
</com.prohua.roundlayout.RoundAngleFrameLayout>
Parameter circle radius unit DP
To get a Git project into your build:
Step 1. Add the JitPack repository to your build file
gradle maven sbt leiningen Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}Copy
Step 2. Add the dependency
dependencies {
compile 'com.github.Deepblue1996:RoundLayout:1.0'
}