标签:android ar sp on log bs new window ui
AlertDialog alert = new AlertDialog.Builder(this).create();
WindowManager.LayoutParams lp =alert.getWindow().getAttributes();
// lp.x=0;
lp.y=100;
alert.show();
alert.getWindow().setGravity(Gravity.CENTER);
alert.getWindow().setLayout(
android.view.WindowManager.LayoutParams.WRAP_CONTENT,
android.view.WindowManager.LayoutParams.WRAP_CONTENT);
alert.getWindow().setContentView(R.layout.top_items);
标签:android ar sp on log bs new window ui
原文地址:http://www.cnblogs.com/Ringer/p/4032903.html