WordPress toggle menu closes too fast on smartphone - android

I have a WordPress theme that switches to the toggle menu in mobile. However, when you try to use it on a phone it disappears before you can click on a link. The menu is long enough that it doesn't show unless you scroll down. Touching the screen to scroll down results in the menu closing.
If I size the browser down to mobile and use my computer's touchscreen, the menu opens and works perfectly, allowing me to scroll then choose my link. But on both an Android phone and an iPhone, it closes too quickly.
I tried using a menu plugin to bypass the theme menu, but ended up with two toggle menus in the header.
So. Can I either fix the theme's menu button (ideal solution) or find a way to bypass it without killing the rest of the navigation and use a plugin?
The site is http:/www.pmi-global.net.
Thank you.

Related

Remove back button from Android Navigation Bar

I'm currently writing an application which acts as a home screen/launcher.
When I'm on the home screen, I still have the back button visible in the navbar. Somehow Google manages to hide it in their Pixel launcher and I've read on GitHub that it's only possible to hide the back button if the application is a launcher (which is the case for my app).
Unfortunately the Android documentation covers only how to completely hide the navigation bar. I doubt that's the way Google went with their Pixel launcher and I suspect that there is some badly documented way of achieving this.

Disable Home Button or system bar on tablet

I'm working on an existing Android application for medical purposes.
The back button and home button should be disabled.
With the existing code, the back button is disabled.
For disabling the home button they used onAttachedWindow with LayoutParams TYPE KEYGUARD,
but this security hole is fixed since 4.0.
I tried a lot of similar questions, but none worked out for me.
What is the way to get this done these days?
Also, hiding the status bar on tablet (where the home & back button live) would do the trick,
so any suggestions there are equally helpful!
Update: also, free third party apps that do the hiding trick are okay!
This sounds like a kiosk or dedicated use kinda thing, yes? You want your app to "own" the tablet and prevent other usage? I did this for an app whose sole purpose was to act as a remote control for a custom device. Basically I created two apps, a "custom launcher" app and the app that did the remote control. It's probably possible to integrate the two, but I wanted to support both dedicated and non-dedicated use. Note that I gave the launcher app a password-protected way to access settings so that I could recover the tablet at any time.
You can find a number of tutorials that will guide you through creating a custom launcher, just strip out all the stuff that makes it a generic launcher and replace it with an image button or similar that launches the actual app, or replace the launcher activity with your main app activity. Warning: I never figured out how to remove the launcher except by going into the settings.
As for hiding the system bar (notifications and status icons at the top of the screen), you'll want to use a full-screen theme like #android:style/Theme.NoTitleBar.Fullscreen.
As for hiding the home button I took this approach:
View main_layout = this.findViewById(android.R.id.content).getRootView();
main_layout.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);
Unfortunately the STATUS_BAR_HIDDEN flag is deprecated now, but I think some of the other options would have the same effect. Regardless, the best you can achieve within Android's intended use is to temporarily hide the navigation buttons (home and back). A tap on the screen will bring them back.

android chrome shortcut to close browser tabs

On android tablet using chrome there is no command to close all tabs. My mother will often have 20+tabs open and it slows/crashes chrome.
I'd like to create a shortcut, but don't know if there are any action and intents to have chrome close all tabs (I can call it with tasker for example.)
Silly, infuriating problem but I'm stumped.
#aaronmallen yes, it can. Using AutoRemote plugin for tasker all kind of actions can be programmed for automated interaction with UI (clicking, swiping, typing, scrolling etc etc)
Tap on the tabs button on the top right (the one that shows the number of open tabs). This will show you all the tabs in a stack.
Tap on the Settings button on the top right that is represented by 3 vertical dots.
You will see a few options. One of them will be Close all tabs. That option should close all your open tabs.

Android launcher menu button

I am developing a Launcher app. I need to detect when the user clicks on the menu button so I display several options (a menu). Well, I found out that there are many devices that don't have a menu button so my app cannot display the menu. Searching in other threads I saw that the solution was to have an Action Bar. This can be good for apps but not for my launcher. Anybody has any hint about this?
Well, I found out that there are many devices that don't have a menu button so my app cannot display the menu
More importantly, there will be very few devices with an off-screen MENU button going forward, as Google is being more stringent about this with device manufacturers.
Anybody has any hint about this?
Create your own menu UI, opened by your own ImageButton or whatever.
Or, add the action bar to your activity and use it.

How can I remove on-screen keys in Eclipse built Android application

I developed a view based application for Android but I get navigation keys on the touch screen, up/down/select/ok. I do not need these keys and I want to remove them so that they don't show on the screen so that the application displays full screen. Anything to do with LWUIT? Help please.
Thanks
It can be done inside your android emulator. Press menu on home screen, open "Settings", then "language and keyboard", and disable all keyboards. The emulator keyboard (not the on screen one, but your PC keyboard and button keyboard on the right) is considered as hardware keyboard, and will still work.

Categories

Resources