Samsung galaxy not displaying menu - android

I have created an android program.It has a menu button and I published it in Google play.But in my phone Samsung Galaxy not showing that menu .I tried it in LG Nexus 4 it works fine .Then I tried in different tablets and works fine .Micro max ninja not showing menu.
Also I want to know about menus of different style .How to enable horizontal scrolling?

What kind of Menu button? The one that is displayed on the Action bar or digital buttons below? Because it might not be displayed because the phone might have a dedicated, physical menu button.
As from the Android docs:
The action overflow in the action bar provides access to your app's less frequently used actions. The overflow icon only appears on phones that have no menu hardware keys. Phones with menu keys display the action overflow when the user presses the key.

Related

How can I use the space above the navigation bar on Android?

I have the following problem: in all activities of an Android app there is a blank (black) space above the navigation bar at the bottom, on specific devices (Pixel 3a and Redmi Note 8T):
I have tried many things, most search results have to do with setting the app to full screen, which basically only takes care of the status bar (either hiding it or making it translucent). The devices I have tested this with are on Android 9.0 and 10.0.
Now, it is important to note that on the Redmi Note 8T (Android 9.0) there is this button in the navigation bar:
If I tap this button, app needs to be started again, but the gap is gone (correct):
How can I get rid of this gap programmatically?

Options button on Android Devices since version 6, Menu inflating

In my app, I have onCreateOptionsMenu which inflates a menu that contains "contact" and "about" (information about the developer etc). I currently have a device with 5.0 Lollipop. On this device, when you press at "options"(beside of the back button) you can see the menu inflating. But on my other device with Android 6.0 pressing on "options" opens just the stack of running applications in the background, like a TaskManager. So the user has to press the 3 dots on the ActionBar to see the menu inflating.
Can I change that? Or is there anything to fix that in order to make it easy for the user to see this menu inflating by not pressing on the 3 dots in the ActionBar because on large devices this is toilsome.
I currently have a device with 5.0 Lollipop. On this device, when you press at "options"(beside of the back button) you can see the menu inflating.
Either that device was upgraded to Android 5.0 from Android 4.3, or that device is not in compliance with the Compatibility Definition Document (e.g., it is not a Google Play ecosystem device).
But on my other device with Android 6.0 pressing on "options" opens just the stack of running applications in the background, like a TaskManager.
That's because there is no MENU button on devices that ship with Android 4.4+. The button that took its place is a RECENTS button, for showing the overview screen (i.e., recently-used tasks).
Can I change that?
No.
Or is there anything to fix that in order to make it easy for the user to see this menu inflating by not pressing on the 3 dots in the ActionBar because on large devices this is toilsome.
No. If you do not like the behavior of the action bar overflow menu, do not use it.

Why Action Settings doesn't show while changing Device?

Why I can't see action settings in action bar in Samsung Mini S3 after simple hello world compilation where it shows up in Nexus 7. Is it depend on somehow in app theme the one I am using? I tried to change app theme but it looks like it always takes Nexus S layout even i select Samsung Mini Display size. Any idea ?
PS. I also can't select Samsung Mini Display size 800*480 where in ADB i have option 480*800
If you are using the default action bar which gets created in a new android application you will of course not see the overflow menu on the samsung mini S3 because if i am not mistaken then s3 mini has a hard button on the left which will open up the overflow menu for you

How can I maximize the useability of my android app on as many devices as possible?

I've been developing for the Galaxy Nexus device using android version 4.1. I've been relying on the action bar and the action bar drop down that you get by default when your action bar items don't fit.
While trying to investigate some ACRA crash reports, I'm trying to replicate user devices and noticed that some of them will not have the software back button or the action bar drop down menu which really diminishes the user experience.
Do I need to check for these features, and if they are not there provide and alternative means of navigation?
Also I noticed that my dialogs don't render as expected on some devices; the positioning is not correct....

HTC One X - shows "compatibility" menu icon

I have application which uses Sherlock ActionBar package.
The application uses platform-specific behavior for menu (so it's 3-dot icon in ActionBar on ICS and classic menu under HW button on pre-ICS)
I had recieved report from one user with HTC One X. It appears, that One X shows some "compatibility" bar with menu button on the bottom of screen, and there is also same button in ActionBar (where it's supposed to be).
I was not able to emulate this in AVD, and I have multiple reports that this issue is not present on Galaxy Nexus or Galaxy S (they show only the icon in ActionBar).
I have no idea where to look to resolve this or how to debug it, so any help or workaround will be appreciated.
Application is built against API14, with targetSdk="11"
You have a typo:
The android:targetSdkVersion in the manifest should be the solution - it's recommended by Google to always set it to the maximum available (currently it's 19).
Some websites do show that HTC shows the huge button on old apps, but not on new ones, as shown here, so if you think it's weird/ugly, simply set the target SDK. Also make sure it's updated in the project.properties file .

Categories

Resources