CutIntoLayout allows you to create clear effect on your background.
You can check the sample app here.
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>
CutIntoLayout
requires a minimum SDK version of 11.
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>
To report a specific problem or feature request, open a new issue on Github.
Apache 2.0 and MIT. See LICENSE file for details.
Made in DevLight Mobile Agency
Created by Basil Miller - @gigamole
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.
Also, if you use this library in applications that are available on Google Play, please report it to us or author.
Thanks in advance.