Linked Questions
22 questions linked to/from Android 4.3 menu item showAsAction="always" ignored
-1
votes
2
answers
54
views
Don't display icon on MenuBar in Android [duplicate]
I'm building an app with AndroidStudio. I want to display an ActionBar in my application.
I want to add a menu into my AppCompactActivity. This is the menu:
<?xml version="1.0" encoding="utf-8"?&...
50
votes
19
answers
90k
views
How to disable/hide three-dot indicator(Option menu indicator) on ICS handsets
How to disable/hide three-dot indicator(Option menu indicator) on ICS handsets which does't have menu button. ?
I am running application as <uses-sdk android:minSdkVersion="5"/> in Manifest, ...
9
votes
7
answers
5k
views
ActionBar items appear always in Overflow Menu
I am trying to add actions item in action bar, but items always are adding into the overflow list even there is lot of room. Any suggestion to resolve this ??
This should be like this
main.xml
<...
3
votes
2
answers
9k
views
Android menu item showAsAction="always" doesn't work
I have tried setting the:
android:showAsAction=".."
to every one of these:
ifRoom, never, withText, always, collapseActionView
but I always got the same result, which is not having any buttons on ...
3
votes
5
answers
11k
views
Custom Menu on button click as drop down
I am trying to implement the action bar functionality of the flipkart app..
For this I have successfully created a custom Action Bar but I am facing problems in showing the menu as drop down on ...
2
votes
2
answers
7k
views
Error : should use android:showAsAction when not using support library
I'm using app compact support library v7 for providing support of lollipop in my app. I was able to make it work perfectly. When my actionbar not showing menu items as icon.
I have followed this ...
2
votes
3
answers
5k
views
showAsAction "always" does not work for item in android
In my android application, I have an item in the menu, and I want the item display all the time with the icon and the text, this is the setting:
<item
android:id="@+id/...
1
vote
1
answer
4k
views
Xamarin ActionBar button items hidden
I want my action bar to show items. All three of the items are hidden in the triple dot icon even though I have android:showAsAction="ifRoom" for all three items. There is certainly enough room, yet ...
0
votes
1
answer
1k
views
Menu is not showing in custom toolbar
I am trying to use custom menu in my android app. I want to add some menu items.
For the purpose, I add following in my menu_main.xml:
<menu xmlns:android="http://schemas.android.com/apk/res/...
0
votes
2
answers
1k
views
Menu Item showAsAction="always" has no effect
I use the following definition for an action bar:
<style name="YesBar" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<!-- task bar styles go here -->
</style>
And here'...
0
votes
1
answer
954
views
Show option menu items with action bar tabs
I have an Action Bar with two tabs like this:
private void setUpActionBarTabs() {
actionBar = getSupportActionBar();
// Creating ActionBar tabs.
actionBar.setNavigationMode(ActionBar....
0
votes
1
answer
1k
views
ActionBar menu with text ,icon,text
Hello guys i want to display action with text and images on action bar, but i only get text in overflow menu
my menu.xml file
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="...
1
vote
1
answer
456
views
Adding Action Icons to toolbar in an activity that extends ListActivity
I am trying to add action icons to my toolbar but in vain. I have followed all the suggestion from this thread.
Maybe the problem is that my Activity doesn't extend ActionBarActivity directly because ...
1
vote
0
answers
241
views
"ifRoom" does not work properly
This is menu I've created:
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/...
0
votes
0
answers
221
views
Android show menu item as action in Activity extends FragmentActivity
If you want to show a menu item in action bar, the activity MUST extends ActionBarActivity according to this answer.
I have an activity which extends FragmentActivity. Actually I have to extend ...