다이얼로그1 Kotlin] 안드로이드 스튜디오 AlertDialog 위치 Changing position of the Dialog on screen android I made a simple AlertDialog in my Activity: View view = layoutInflater.inflate(R.layout.my_dialog, null); AlertDialog infoDialog = new AlertDialog.Builder(MyActivity.this) .set... stackoverflow.com val alertDialog = builder.create() val window = alertDialog.window // 위쪽 window?.setGravity(Gravity.TOP) alertDialog.show() 전체코드 val builder = AlertDi.. 2020. 8. 8. 이전 1 다음