I have developed an android application. It has 3 activities, upon reaching the third activity, I need to disable "back", "home", "task" buttons. I have already done this for "back" and "task" buttons. But I couldn't handle the "home" button disabling. Please help me out of this.
Not possible in lolipop but pre kitkat support this
@Override
public void onAttachedToWindow() {
this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
super.onAttachedToWindow();
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.