7

Android Dialog Customisation

view full story
linux-howto

http://stackoverflow.com – Is it possible to call android's dialog and also doing some work on the background activity, simultaneously? This is my dialog. I want that when this dialog is showing, the have the access over the elements in my background activity(e.g. Edit text and button). final Dialog dialog = new Dialog(MainActivity.this, R.style.ThemeDialogCustom); dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); dialog.setContentView(R.layout.dialog_layout); WindowManager.LayoutParams layoutParameters = dialog.getWindow() .getAttributes(); layoutParameters.gravity = (HowTos)