Commit eaa8589f authored by zooble's avatar zooble Committed by GitHub

Merge pull request #215 from xbdtb/patch-1

Update PickerViewModule.java
parents 6ae8ebbb 0526f265
...@@ -350,7 +350,7 @@ public class PickerViewModule extends ReactContextBaseJavaModule implements Life ...@@ -350,7 +350,7 @@ public class PickerViewModule extends ReactContextBaseJavaModule implements Life
Window window = dialog.getWindow(); Window window = dialog.getWindow();
if (window != null) { if (window != null) {
layoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; layoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
layoutParams.type = WindowManager.LayoutParams.TYPE_TOAST; // layoutParams.type = WindowManager.LayoutParams.TYPE_TOAST;
layoutParams.format = PixelFormat.TRANSPARENT; layoutParams.format = PixelFormat.TRANSPARENT;
layoutParams.windowAnimations = R.style.PickerAnim; layoutParams.windowAnimations = R.style.PickerAnim;
layoutParams.width = WindowManager.LayoutParams.MATCH_PARENT; layoutParams.width = WindowManager.LayoutParams.MATCH_PARENT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment