I\'ve looked up a couple of posts for the same problem but can\'t seem to resolve my issue. I\'ve used spinners throughout my application and they are working fine. It\'s wh
Can you try by replacing following line:
pw_references = new PopupWindow(vg_references,
this.getWindowManager().getDefaultDisplay().getWidth()/100 * 75,
this.getWindowManager().getDefaultDisplay().getHeight()/100 * 50,
true);
with
pw_references = new PopupWindow(this);
pw_references.setWidth(this.getWindowManager().getDefaultDisplay().getWidth()/100 * 75);
pw_references.setHeight(this.getWindowManager().getDefaultDisplay().getHeight()/100 * 50);
pw_references.setContentView(vg_references);
where this
refer to the current activity
reference. Just to see if this make any difference...