Hide status and title bar on android titanium - android

I am working on titanium project and am facing a problem where when I use win.open({modal:true}); my application screen does not hide the status bar and title bar in Android devices. How can I fix this?

to hid ethe title bars in your screen just do this in your oncreate before adding the setcontentview.This will hide your title bar
requestWindowFeature(Window.FEATURE_NO_TITLE);

Related

Page scrolling issue in cordova app

I am facing an issue in my cordova app i.e after using #android:style/Theme.DeviceDefault.NoActionBar.Fullscreen to hide status bar in splash screen and main activity and status bar plugin to hide status bar in js pages but some pages in my app doesn't scroll down.
Kindly suggest
Thanks in advance
If you are using the Android theme to hide the status bar and navigation bar you can remove the plugin you were using for hiding the status/navigation bar. It may be conflicting.

Hide/show status and navigation bar on

I am searching for hours, but nothing found.
I just want to hide/show status and navigation bar when I hit the screen, like android gallery.
// Hide status bar
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
// Show status bar
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
The code above works fine for Status bar, but what about navigation bar (bottom bar) like android gallery? (I dont want to use 4.4 immersive mode)

Show and Hide the status bar when button clicked:Android

I am working around one android app while i need to show and hide the status bar when button clicked.is it possible?please help to solve this issue.
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
// Show status bar
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

actionbarsherlock on android 4.3 wont hide the bottom action bar properly, it shows blank white space instead

Hi I am using actionbarsherlock and splitActionBarWhenNarrow to to get a bottom action bar with my menu information. I have set windowActionBarOverlay to be true.
In android 4.2 and below calling getSupportActionBar().hide(); will properly hide both the top and bottom action bars. In android 4.3 getSupportActionBar().hide() hides the top action bar properly but it leaves a blank white space where the bottom action bar use to be.
Can anyone help me with this?

Android to setaction bar without title bar

I want to set action bar without title bar.
I have tried #android:style/theme.light.notitlebar
as well as i also tried this link Adding an action bar to Theme.Black.NoTitleBar Android
but it is not working . Where i am wrong, please help me
//Remove title bar
this.requestWindowFeature(Window.FEATURE_NO_TITLE);

Categories

Resources