jbaginski / CutIntoLayout

CutIntoLayout allows you to erase the background.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CutIntoLayout

CutIntoLayout allows you to create clear effect on your background.

enter image description here

U 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. See LICENSE file for details.

Author

Basil Miller - @gigamole

About

CutIntoLayout allows you to erase the background.

License:Apache License 2.0


Languages

Language:Java 100.0%