Skip to content

Latest commit

 

History

History
112 lines (81 loc) · 4.01 KB

README.md

File metadata and controls

112 lines (81 loc) · 4.01 KB

CutIntoLayout

CutIntoLayout allows you to create clear effect on your background.

DevLight

Android Arsenal Android Download Crates.io Codacy Badge

You can check the sample app here.

Download

You can download a .jar from GitHub's releases page.

Or use Gradle jCenter:

dependencies {
    repositories {
        mavenCentral()
        maven {
            url  'http://dl.bintray.com/gigamole/maven/'
        }
    }
    compile 'com.github.gigamole.cutintolayout:library:+'
}

Or Gradle Maven Central:

compile 'com.github.gigamole.cutintolayout:library:1.0.1'

Or Maven:

<dependency>
    <groupId>com.github.gigamole.cutintolayout</groupId>
    <artifactId>library</artifactId>
    <version>1.0.1</version>
    <type>aar</type>
</dependency>

Android SDK Version

CutIntoLayout requires a minimum SDK version of 11.

Sample

CutIntoLayout must have child. Only one child. You can put any view into layout.

XML init:

<com.gigamole.cutintolayout.lib.CutIntoLayout
    android:id="@+id/cut_into_layout"
    android:layout_width="200dp"
    android:layout_height="200dp"
    android:layout_gravity="center"
    android:background="@drawable/sample_bg">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:text="@string/sample_title"
        android:textColor="@color/white" />

</com.gigamole.cutintolayout.lib.CutIntoLayout>

Getting Help

To report a specific problem or feature request, open a new issue on Github.

License

Apache 2.0 and MIT. See LICENSE file for details.

Author

Made in DevLight Mobile Agency

Created by Basil Miller - @gigamole

Support

If you'd like to support future development and new product features, please make a payments on Gratipay and Beerpay or become a patron on Patreon.

Gratipay Beerpay Patreon

Also, if you use this library in applications that are available on Google Play, please report it to us or author.

Thanks in advance.