Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーがアクティビティのコンテンツ ビュー内のビュー/サブビューに触れないように、アクティビティでのユーザー インタラクションを無効にしたいと考えています。これを達成する方法はありますか?
次のように、アクティビティの上に空白のダイアログを追加できます。
overlayDialog = new Dialog(context, android.R.style.Theme_Panel); overlayDialog.show();
必要がなくなったら、電話してください
overlayDialog.dismiss();