2011-10-27 13 views

答えて

8

に示すような境界線の効果を作成する方法、これを試してみてください。 [AlertDialog(http://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog)味のいずれかでなければなりません

Dialog d = new AlertDialog.Builder(Buddies.this,AlertDialog.THEME_HOLO_LIGHT) 
        .setTitle("Create New") 
        .setNegativeButton("Cancel", null) 
        .setItems(new String[]{"Document", "SpreadSheet","",""}, new DialogInterface.OnClickListener(){ 
         @Override 
         public void onClick(DialogInterface dlg, int position) 
         { 
          if (position == 0) 
          { 
          } 
          else if(position == 1){ 

          } 
          else if(position == 2){ 


          } 

         } 
        }) 
        .create(); 
        d.show(); 
+0

素晴らしい人、時間を節約してくれたことに感謝してくれてありがとう。 –

関連する問題