title: Android PopupWindow vs. DialogFragment
body: <p>I'm attempting to make a popup window that inflates on a button click in my application shows a listview populated by an adapter. Currently, I'm using a DialogFragment and it works alright. But I'd like to be able to adjust the size and ideally the position of the dialog.</p>
  
  <p>After doing some research, PopupWindow allows you to adjust the size and position of the box, but it doesn't play nice with instantiating a fragment within its view. DialogFragment works nicely for using a fragment and listview, but to my knowledge you can't control the size and position of it.</p>
  
  <p>Has anyone had a similar situation or experience in creating a dynamic popup?</p>