From f835891496988ddbd7f54207ab3801ab7163ed7c Mon Sep 17 00:00:00 2001 From: greenyossi Date: Mon, 22 Jul 2019 13:00:31 +0300 Subject: [PATCH 1/3] Update RNCMaskedView.java Fixed elevation not showing.. --- .../src/main/java/org/reactnative/maskedview/RNCMaskedView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/org/reactnative/maskedview/RNCMaskedView.java b/android/src/main/java/org/reactnative/maskedview/RNCMaskedView.java index 6eb9bb2..dec8440 100644 --- a/android/src/main/java/org/reactnative/maskedview/RNCMaskedView.java +++ b/android/src/main/java/org/reactnative/maskedview/RNCMaskedView.java @@ -19,7 +19,7 @@ public class RNCMaskedView extends ReactViewGroup { public RNCMaskedView(Context context) { super(context); - setLayerType(LAYER_TYPE_SOFTWARE, null); + setLayerType(LAYER_TYPE_HARDWARE, null); mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mPorterDuffXferMode = new PorterDuffXfermode(PorterDuff.Mode.DST_IN); From eaadd2b66420dae9ce9c0520d2af7491181f7699 Mon Sep 17 00:00:00 2001 From: greenyossi Date: Thu, 23 Jan 2020 16:07:50 +0200 Subject: [PATCH 2/3] Update RNCMaskedViewManager.java --- .../java/org/reactnative/maskedview/RNCMaskedViewManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java b/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java index 1b60a26..2984ee7 100644 --- a/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java +++ b/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java @@ -1,6 +1,6 @@ package org.reactnative.maskedview; -import android.support.annotation.Nullable; +import androidx.annotation.NonNull; import android.view.View; import android.widget.Toast; From 33f42d6aead417a98641bede71ffc228c9157821 Mon Sep 17 00:00:00 2001 From: greenyossi Date: Mon, 10 Aug 2020 09:30:04 +0300 Subject: [PATCH 3/3] Update RNCMaskedViewManager.java --- .../java/org/reactnative/maskedview/RNCMaskedViewManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java b/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java index 2984ee7..cc2ab73 100644 --- a/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java +++ b/android/src/main/java/org/reactnative/maskedview/RNCMaskedViewManager.java @@ -1,6 +1,5 @@ package org.reactnative.maskedview; -import androidx.annotation.NonNull; import android.view.View; import android.widget.Toast;