,null);
ListView lv = (ListView)view.findViewById(R.id.test_alertdialog_listview);
lv.setAdapter(new...ArrayAdapter(this,android.R.layout.simple_list_item_1,datas));
lv.setOnItemClickListener(new OnItemClickListener...> parent, View view,
int position, long id) {
alertdialog.dismiss();
Toast.makeText(TestAndroid.this,...datas[position], Toast.LENGTH_LONG).show();
}
});
alertdialog = new AlertDialog.Builder(this)
// .setView...四周边框的距离,可以消除黑边框
alertdialog.setView(view, 0, 0, 0, 0);
alertdialog.show();