Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions RippleView/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.indris"
android:versionCode="3"
android:versionName="1.2" >

<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="21" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
</application>

</manifest>
<manifest package="com.indris" />
Binary file removed RippleView/res/drawable-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed RippleView/res/drawable-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed RippleView/res/drawable-xhdpi/ic_launcher.png
Binary file not shown.
4 changes: 3 additions & 1 deletion RippleView/src/com/indris/material/RippleView.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ protected void onDraw(final Canvas canvas) {
mPath.addCircle(mDownX, mDownY, mRadius, Path.Direction.CW);

canvas.clipPath(mPath);
canvas.restore();

if(Build.VERSION.SDK_INT < Build.VERSION_CODES.M)
canvas.restore();

canvas.drawCircle(mDownX, mDownY, mRadius, mPaint);
}
Expand Down