Android AlertDialogフルスクリーンは白い枠を取り除くと表示します.
1588 ワード
Android AlertDialogフルスクリーンは白い枠を取り除くと表示します.
styles.xml :
Style.xml
AlertDialog :
Java
Dialog reNameDialog = new Dialog(getContext(), R.style.FullScreenDialog);
LayoutInflater mLayoutInflater = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View reNameView = mLayoutInflater.inflate(R.layout.audiorecord_rename, null);
LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
reNameDialog.addContentView(reNameView, params);
reNameDialog.show();