User AlertDialogBuilder to add your buttons...It's simplier

On May 23, 4:47 am, "[email protected]" <[email protected]>
wrote:
> i have my code
>                         Dialog dlg=new Dialog(android01.this);
>                         dlg.setContentView(R.layout.error);
>                         dlg.show();
>                         MotionEvent event = null;
>                                 if(dlg.onTouchEvent(event))
>                                 dlg.cancel();
> but it dosnt work?
> how to fix it?
> Thank you.
> Hence
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to