public static void ngepopInfo(Context context,View view){
PopupWindow popupWindow = new PopupWindow(context);
View layoutNya = LayoutInflater.from(context).inflate(R.layout.hasil_adapter,null);
popupWindow.setContentView(layoutNya);
popupWindow.setWidth(WindowManager.LayoutParams.WRAP_CONTENT);
popupWindow.setHeight(WindowManager.LayoutParams.WRAP_CONTENT);
popupWindow.setOutsideTouchable(true);
popupWindow.setFocusable(true);
popupWindow.showAsDropDown(view);
}
Created
October 20, 2019 01:09
-
-
Save malikkurosaki/5e7f3319f82a8688fbff29dd28a49491 to your computer and use it in GitHub Desktop.
android super simple popout window
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment