[android-developers] Re: How to creat Toast Like view

2009-03-12 Thread gymshoe
http://www.anddev.org/2_ways_to_implement_a_toast-t3164.html On Mar 11, 2:16 am, Tushar wrote: > Hi, > > Using android.widget.Toast one can created  floating view over the > application. I would like to created similar view which will float on > top of all running applications at a specified lo

[android-developers] Re: How to creat Toast Like view

2009-03-12 Thread mark . kahrl
Did you look at PopupWindow in the /widgets package? it is toast like, but persist until the user closes it. Mark On Mar 11, 5:26 am, Gulfam wrote: > Hi Tushar > > You can make toast like this > > public void showAlertMessage(Context context, String text){ > >         La

[android-developers] Re: How to creat Toast Like view

2009-03-11 Thread Gulfam
Hi Tushar You can make toast like this public void showAlertMessage(Context context, String text){ LayoutInflater inflater = (LayoutInflater)context.getSystemService (Context.LAYOUT_INFLATER_SERVICE); View view = inflater.inflate(R.layout.toast_layout, null); // set the