Hi,
i need to lock the home button in my app, because it's used in a scientific test and i don't want the test to be interrupted by accidental pressing the home button.
The only way I found was to set my Activity as Keyguard or Keyguard_Dialog.
But with this option on, my Views aren't shown in the right order.
I have a CameraView, an OpenGLView and an OverlayView for displaying Text above the other two Views.
But with the Keyguard-Option on, the OverlayView always lies under the two other Views, no matter in which order I add them to the ViewGroup.
Does somebody know why this happens in Keyguard-Mode or does someone know another way to disable the home button?
Tomorrow I can post some code if needed.
Regards,
Baweg
i need to lock the home button in my app, because it's used in a scientific test and i don't want the test to be interrupted by accidental pressing the home button.
The only way I found was to set my Activity as Keyguard or Keyguard_Dialog.
But with this option on, my Views aren't shown in the right order.
I have a CameraView, an OpenGLView and an OverlayView for displaying Text above the other two Views.
But with the Keyguard-Option on, the OverlayView always lies under the two other Views, no matter in which order I add them to the ViewGroup.
Does somebody know why this happens in Keyguard-Mode or does someone know another way to disable the home button?
Tomorrow I can post some code if needed.
Regards,
Baweg