当前位置: 代码迷 >> Android >> 新手!AlertDialog的内容怎么设置居中
  详细解决方案

新手!AlertDialog的内容怎么设置居中

热度:74   发布时间:2016-04-28 08:11:03.0
新手求救!AlertDialog的内容如何设置居中
本帖最后由 ymmmvp1 于 2012-12-29 16:18:47 编辑
代码
edtDialog = new AlertDialog.Builder(PG0202ThreadDetailActivity.this);
edtDialog.setTitle(Const.HTTP_KEY_SELECT);
edtDialog.setItems(Const.choices, onselect).create();
edtDialog.show();
图片:


求教各位大神啊,小弟刚入门,不会啊。
如何让图片中的编辑和消除居中显示啊?

------解决方案--------------------
恐怕只能用builder的setAdapter方法或者setView方法了
  相关解决方案