AlertDialog.Builder not showing items but when there is sele

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

AlertDialog.Builder not showing items but when there is sele

Postby jagtap.jj1 » Thu Sep 18, 2008 1:04 pm

AlertDialog.Builder not showing items but when there is selection by
up-down key it shows

presently I am using

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. private ArrayAdapter<String> aa;
  2.  
  3. public Builder ab1;
  4.  
  5.  
  6.  
  7. aa=new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1,
  8.  
  9. mStrings);
  10.  
  11. ab1.setAdapter(aa,new DialogInterface.OnClickListener(){
  12.  
  13.                                 public void onClick(DialogInterface dialog, int which){
  14.  
  15.                                         switch(which){
  16.  
  17.                                         case 0:
  18.  
  19.                                         helpM();
  20.  
  21.                                         }
  22.  
  23.                                 }
  24.  
  25.                         });
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


It execute properly But it shows empty dialog.
and there is focus by using up and down key it shows only that item.

plz reply me as quick as possible

thank u
jagtap
java-android developer
User avatar
jagtap.jj1
Senior Developer
Senior Developer
 
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)

Top

Postby plusminus » Thu Sep 18, 2008 4:23 pm

Hm strange, maybe your textcolor is the same as the backgroundcolor :?:
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

Thank you for your quick reply

Postby jagtap.jj1 » Fri Sep 19, 2008 12:44 pm

Thank you Sir for quick reply

I am glad of your valuable suggestion , The problem has been solved.

Once again thank you.

Jagtap Jalandar (India(Mumbai))
jagtap.jj@gmail.com
java-android developer
User avatar
jagtap.jj1
Senior Developer
Senior Developer
 
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests