Skip to content

cuber5566/uiModule

Repository files navigation

uiModule

Material Design support API 21 above Screenshot

###SquareLinearLayout, SquareRelativeLayout

<com.ui.uimodule.SquareLinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:sl_widthWeight="3"
        app:sl_heightWeight="4"/>

###RaisedButton

<com.ui.uimodule.button.RaisedButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@android:color/white"
        android:padding="16dp"
        android:text="RaisedButton"
        android:textColor="@android:color/black"
        
        app:rb_backgroundColor="@android:color/white"
        app:rb_rippleColor="@android:color/black"
        app:rb_enableBackgroundColor="@android:color/white"
        app:rb_enableTextColor="@android:color/darker_gray"
        app:rb_rippleRadius="48dp"
        app:rb_rectRadius="16dp"
        app:rb_elevation="5dp"/>

###ShadowHelper

 shadowHelper.onDraw(canvas, rectRadius, elevation, focus);

###RippleHelper

rippleHelper.onTouch(event);
rippleHelper.onDraw(canvas, rippleRadius, rippleColor, padding, rectRadius);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages