I am creating an AlertDialog in my activity onResume with the following
code:
LayoutInflater li = LayoutInflater.from(this) ;
View view = li.inflate(R.layout.welcome,null);
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitl
Try dismissing it in onPause() out it is visible...
On Jul 23, 2012 6:48 PM, "Brad Justice" wrote:
> I am creating an AlertDialog in my activity onResume with the following
> code:
> LayoutInflater li = LayoutInflater.from(this) ;
> View view = li.inflate(R.layout.welcome
Sorry, that should have said dismiss in onPause() IF it is visible...
On Jul 23, 2012 6:48 PM, "Brad Justice" wrote:
> I am creating an AlertDialog in my activity onResume with the following
> code:
> LayoutInflater li = LayoutInflater.from(this) ;
> View view = li.inflat
On Mon, Jul 23, 2012 at 7:47 PM, Brad Justice wrote:
> The dialog has an exit button.
First suggestion would be to replace your layout button that calls dismiss
with a standard dialog button that does this automatically. See if that
helps.
---
Yes, that was the problem. Your suggestion works perfectly.
Thanks all for your assistance.
On Monday, July 23, 2012 6:44:05 PM UTC-7, MagouyaWare wrote:
>
> Try dismissing it in onPause() out it is visible...
>
>> I am creating an AlertDialog in my activity onResume with the following
>> code:
5 matches
Mail list logo