0

enter image description here

I know how to create a Simple alert dialog. But I don't have any idea how to create being like this in facebook. You can see it from your facebook app in your profile and click the ". . ".

How will I able to make like this one?

M4N
  • 94,805
  • 45
  • 217
  • 260
Charles Galvez
  • 1,100
  • 5
  • 19
  • 41
  • 3
    make an xml layout and inflate in alert dialog box – Madhur Feb 10 '16 at 07:12
  • Possible duplicate of [How to implement a custom AlertDialog View](http://stackoverflow.com/questions/2795300/how-to-implement-a-custom-alertdialog-view) – Madhur Feb 10 '16 at 07:15
  • I have a feeling this is more of a popupwindow than an alertDialog view – Simon Feb 10 '16 at 07:18
  • I know how to create custom alert dialog but nothing like that in facebook. Its on the right side of the screen. – Charles Galvez Feb 10 '16 at 07:25
  • @Simon Do you have a tutorial for popupwindow? – Charles Galvez Feb 10 '16 at 07:30
  • 1
    Try this: http://stackoverflow.com/questions/23028480/android-how-to-create-popup-window you will just need to showAtLocation at the right place and animate it similar to Facebook once it is shown. I think it is a popupwindow because it looks highly customized. An alert dialog is normally used for alerts where you click OK or Cancel. – Simon Feb 10 '16 at 07:32
  • okay thanks. ill try that thank you. – Charles Galvez Feb 10 '16 at 09:19

0 Answers0