# ShadowLayout **Repository Path**: baijuncheng-open-source/ShadowLayout ## Basic Information - **Project Name**: ShadowLayout - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-05-19 - **Last Updated**: 2021-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Description ![intro](https://images.gitee.com/uploads/images/2021/0519/172743_9204b6c5_8230582.png "intro.png") OpenHarmony Shadow Layout is a library that you can custom attribute for shadow layout. ## User Guide ### Integration Add this in your root `build.gradle` file (**not** your module `build.gradle` file): ```xml allprojects { repositories { ... mavenCentral() } } ``` The lib is available on Maven Central, you can find it with [Gradle, please] ```xml dependencies { implementation 'com.gitee.baijuncheng-open-source:shadowlayout:1.0.1' } ``` ### Usage Samples below are available in [sample project](sample/src/main/resources/base/layout/ability_main.xml) **Available attributes** ```xml sl_cornerRadius sl_shadowRadius sl_shadowColor sl_dx sl_dy ``` **Floating Action Button** with centered shadow. ![fab1](https://images.gitee.com/uploads/images/2021/0519/172125_7452d3c6_8230582.png "fab-1.png") ```xml