Java Code Examples for android.view.ViewGroupOverlay#clear()
The following examples show how to use
android.view.ViewGroupOverlay#clear() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BasePopup.java From EasyPopup with Apache License 2.0 | 5 votes |
@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2) private void clearDim(Activity activity) { ViewGroup parent = (ViewGroup) activity.getWindow().getDecorView().getRootView(); //activity跟布局 // ViewGroup parent = (ViewGroup) parent1.getChildAt(0); ViewGroupOverlay overlay = parent.getOverlay(); overlay.clear(); }
Example 2
Source File: BasePopup.java From EasyPopup with Apache License 2.0 | 4 votes |
@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2) private void clearDim(ViewGroup dimView) { ViewGroupOverlay overlay = dimView.getOverlay(); overlay.clear(); }
Example 3
Source File: GuiInfoPopupWindow.java From PhoneProfilesPlus with Apache License 2.0 | 4 votes |
static void clearDim(@NonNull ViewGroup parent) { ViewGroupOverlay overlay = parent.getOverlay(); overlay.clear(); }