I'm working on a project where I use an 'Android Mini PC' (chinese) and connect it to the TV. The user uses their remote to navigate through the environment.
The application is fullscreen, but whenever a dialog is launched, the virtual keyboard pops up with the navigation bar, which needs to be hidden at all times. (even though I'm testing with a physical keyboard) I didn't have this problem with an older model of the Android Mini PC.
I can force the virtual keyboard off by disabling the service, but I just need it to remain hidden when a physical keyboard is present, not the entire time. (worked fine on the older model, which fried itself, thus I'm using a new model)
The second problem is the navigation bar. Even though the service is disabled, the navigation bar still shows up when the keyboard would be launched. For the project I'm working on, it's crucial the navigation bar stays of the screen. I fear the Mini PC thinks it's a tablet, which makes it harder (if not impossible) to keep the navigation bar hidden at all times.
Related
When creating an Android virtual keyboard, is it possible to have the keyboard stay open even if no text is selected?
If not, is it possible to occupy the area where the keyboard is when it's open, so that the layouts of the opened app don't change?
Reason being that I am working on a physical keyboard attachment, and I am considering making something similar to the Samsung S8 keyboard attachment (https://eskerahn.dk/?p=2284).
I could easily make something that works with the visible virtual keyboard, but as soon as the virtual keyboard closes, the app would use the full screen and then part of the app would be behind the keyboard.
If there is a solution, it should be compatible with Android 11 and 12 (so sadly no wm overscan).
This might be an emulator only issue, no reproduction on physical devices so far
We have a Xamarin.Forms App for Android and iOS. The app supports dark and light theme and follows. Most of the colors are defined in styles using the AppThemeBinding of Xamarin.Forms.
We use Material Renderers and Xamarin.Forms 5.0.0.2337 (i.e. most current).
We use the Switch control for some settings. Cause there is a dark mode bug in Xamarin renderer for switch, the Android main style parent was changed from Theme.AppCompat.Light.DarkActionBar to Theme.AppCompat.DayNight.DarkActionBar as proposed as workaround.
Now I observe this issue in Android Emulators (cannot test on real device at the moment):
click an Entry or Editor, soft keyboard opens
make some keyboard input
close keyboard either by "finish" button or "back" button
the whole app (page, controls etc.) is rendered brighter now. example: page background was #121212 before keyboard was shown and is #2f2f2f after it was shown. sometimes it needs 2 or 3 tries to reproduce
by clicking in another entry, the app may be rendered correct again or may be not.
The issue leaves helpless cause I do not understand what is going on.
I initially started making an application on a Samsung Tab 3, and recently changed to a Samsung Active tablet. Since making the change, I noticed that the numeric keyboard is detached from the bottom of the screen, and is movable. I really want the numeric keyboard to be locked to the bottom of the screen, just like the regular keyboard.
Does anyone know how to fix this?
Note: I'm running version 4.4.4
I've just started to use the SmallApps API of Sony Tablet SDK. I need to show my small app always on the top but when user is opening the screen keyboard small app is making hidden. It possible to solve this problem?
I'm trying to make my app to Fullscreen (with no any bar) how I can coding to set it. (Android version 4.0.3)
Thx very Much
You can't hide that bar. On Honeycomb(3.0) there was a bug that would allow it to be hidden(on a rooted device), but it was fixed in ICS(4.0). (Note: see this answer for more techniques that worked on 3.0)As of now there is no way to do it on 4.0. Unfortunately, because devices no longer have physical buttons the navigation buttons (home and back) have to be put onto the screen. Because that bar contains the navigation buttons if you were to hide it, it would be possible to "lock" the user out of the device by not allowing them to leave your application(at least until they rebooted into safe mode).
So if you want to do that you'll have to make your own custom version of the OS to allow for it.