1

I ned to create a custom pop in which i can show any layout containing buttons, textviews, edittexts and any other control but the view has to appear like dropdown/popup. An example of view I want to create is shown in the image below. I know about popup menus, spinners, lists ets but I don'tenter image description here think that these things will help me to create the view shown in the Image

Furqan Ali
  • 137
  • 2
  • 13

1 Answers1

2

You can use Custom Dialogs, with a background image like in the provided image.

 Dialog dialog = new Dialog(context);
 dialog.setContentView(R.layout.custom);

You can get more from this link

droid
  • 414
  • 2
  • 7
  • 21
  • Dialog can not give me the view like above like when I have to show them on particular locations . See the image I have given – Furqan Ali Dec 19 '14 at 11:48
  • 2
    Hope this helps. http://stackoverflow.com/questions/5469005/show-alertdialog-in-any-position-of-the-screen – droid Dec 22 '14 at 05:07