onAttchedToWndow() is used to disable home button in android
but in newer version this has been resolved
so comment the below code or remove
but in newer version this has been resolved
so comment the below code or remove
@Override
public void onAttachedToWindow()
{
this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
super.onAttachedToWindow();
}
No comments:
Post a Comment