[問題] AlertDialog 能否捲動
定義了一個 view,餵進一個 layout
View view = View.inflate(this, R.layout.activity_player, null);
將這個 view 送給 AlertDialog
AlertDialog.Builder alertDialog = new AlertDialog.Builder(this);
alertDialog.setTitle(getString(R.string.player_title));
alertDialog.setMessage(getString(R.string.player_subtitle));
alertDialog.setView(view);
然而這個 layout 太多 Button, TextView, EditText 超過顯示畫面
請問有辦法讓這個 AlertDialog 整個畫面可以拖曳捲動嗎?
感謝大家~~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.34.231.188
推
06/22 01:08, , 1F
06/22 01:08, 1F
→
06/22 08:15, , 2F
06/22 08:15, 2F