Skip to content

BezierCurveBulgeLayout makes a layout just like google pay.

Notifications You must be signed in to change notification settings

morristech/BezierCurveBulgeLayout

 
 

Repository files navigation

BezierCurveBulgeLayout

BezierCurveBulgeLayout makes a layout just like google pay.

Download

Add the following lines to your app level build.gradle file:

repositories {
    jcenter()
}
  
dependencies {
    implementation 'com.aminography:beziercurvebulgelayout:1.0.2'
}

How to use BezierCurveBulgeLayout?

<com.aminography.view.BezierCurveBulgeLayout
    android:id="@+id/bulgeLayout"
    android:layout_width="match_parent"
    android:layout_height="56dp"
    android:layout_gravity="bottom"
    app:bulgeType="bulge"
    app:bulgeColor="@color/colorPrimary"
    app:curveWidth="32dp"
    app:flatWidth="56dp"
    app:flatHeight="24dp">

    <android.support.v7.widget.AppCompatImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:src="@android:drawable/ic_menu_compass"/>

</com.aminography.view.BezierCurveBulgeLayout>

Example

Example

About

BezierCurveBulgeLayout makes a layout just like google pay.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 82.4%
  • Java 16.8%
  • Shell 0.8%