hi
I am doing an android applicaiton and I know its possible to show or hide the notification bar.
but is there a way to show it but Disable the ability to drag it down?
Thanks
hi
I am doing an android applicaiton and I know its possible to show or hide the notification bar.
but is there a way to show it but Disable the ability to drag it down?
Thanks
Well I think thats not possible, but you achieve something similar makin your activity FullScreen.
public class FullScreen extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main);
}
}
Jorgesys