Skip to content

Deepblue1996/RoundLayout

Repository files navigation

RoundLayout

RoundLayout

XML 圆角布局

<com.prohua.roundlayout.RoundAngleFrameLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:radius="15dp">
        ...todo
</com.prohua.roundlayout.RoundAngleFrameLayout>

参数 radius 圆角半径 单位dp

Parameter circle radius unit DP

Image text

How to

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'
}