how can we display more than one text in alert ..

Put your problem here if it does not fit any of the other categories.

how can we display more than one text in alert ..

Postby Archana » Thu Feb 28, 2008 12:25 pm

i am doing alert notification in my project.i used one buton and when user click that,it will notify with text and it will persist for sometime.but i want to diplay one text after other.is this possible within one click?
Archana
Archana
Experienced Developer
Experienced Developer
 
Posts: 53
Joined: Thu Feb 28, 2008 12:00 pm
Location: Bangalore

Top

Postby plusminus » Thu Feb 28, 2008 12:51 pm

Hello Archana,

I haven't explicitly tried it but you could give a try to the following:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.                 AlertDialog a = new AlertDialog(this);
  2.  
  3.                 a.setContentView(viewA);
  4.  
  5.                 a.show();
  6.  
  7.  
  8.  
  9.                 //...
  10.  
  11.  
  12.  
  13.                 a.setContentView(viewB);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 29 guests