Page scrolling issue in cordova app - android

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.

Related

Android bottom navigation appears when pressing on Flutter bottom navigation bar

I'm using SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);
to only display the top system overlay (Where you normally see time and notifications) and disable bottom navigation of the device (3 buttons in android or slider in IOS).
Problem is that when I try to press the Bottom Navigation Bar of my Flutter application, it automatically activates the bottom bar of the system, blocking out the bottom navigation bar of the app.
Resizing the app is not suitable for me. I don't want this to happen, and system navigation should only appear when user slides from the bottom.
Help is appreciated.
Can you share your code so that I can have a better Idea,
// to hide only bottom bar:
SystemChrome.setEnabledSystemUIOverlays ([SystemUiOverlay.top]);
// to hide only status bar:
SystemChrome.setEnabledSystemUIOverlays ([SystemUiOverlay.bottom]);
// to hide both:
SystemChrome.setEnabledSystemUIOverlays ([]);
//to bring them back:
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values)
Implement the in your code and it should work.

Hiding default navigation bar in app on Android devices

Currently working on a fullscreen mobile app, building using react-native. I have managed to hide the status bar and default navigation bar on Android devices. However, when I start to put in text input tags that prompts a keyboard on the screen, the default navigation bar re-appears and could not be hidden even I've dismissed the keyboard.
Is there any way to prevent the default navigation bar re-appears when the keyboard pops up?
The reasons are that I need to remove the navigation bar to have enough space to locate the needed components on the app UI design. If the navigation bar re-appears the design will be messed up. Thank you for any advice.
I think this is what you're looking for:
static navigationOptions = {
header: null,
};
Put this on top of each screen

Disable navigation and status bar in Android application

I want to permanently disable navigation and status bar for my android application i have used immersive mode for that but when i touch anywhere on screen the navigation and status bar reappears and on touching again on screen it goes back.I just want that all the navigation bar and status bar should not come when my application is running at any of the scenario please help.
That is not possible without root. With root permission you can achieve this but still its not a preferred.

How to hide the soft navigation bar on Android with Titanium?

Please can someone point to an example of how to hide the navigation bar on android, using Appcelerator.
NOT the action bar, nor the title bar. I can make these hide.
I want to make a completely fullscreen app, and hide the navigation bar
thanks
What you are trying to achieve is called immersive fullscreen mode, it is possible to do it from android 4.4, but it seems that Titanium don't support the flag; there is a module that does this thing, haven't personally tried it but probably will do what you need.
In the tiapp.xml file:
<fullscreen>true</fullscreen>
<navbar-hidden>true</navbar-hidden>
In the app.tss or index.tss:
'Window':{
navBarHidden:true,
tabBarHidden:true,
fullscreen:true
}
And in the index.js:
$.index.addEventListener("open",function() {
if(OS_ANDROID) $.index.activity.actionBar.hide();
});
What you want is possible since Titanium 5.2 by using <fullscreen>true</fullscreen> in tiapp.xml.
See Hide Soft Navigation Bar in the Release Notes.

Hide status and title bar on android titanium

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);

Categories

Resources