Android popup window not filling screen size?
Here you can’t use layout which is in your popup window xml. You have to use any View from main layout. Right now I am using FloatingButton as a View to showAtLocation. fabButton = (ImageButton) findViewById(R.id.activity_profileView_FAB); fabButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(final View v) { initiatePopupWindow(v); } }); private void initiatePopupWindow(View v) { try … Read more