Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Ok I feel like an idiot, my menu action item has this dark color that does not even exist in my theme, But my menu_item xml is setting it to be a tan color, xmlns:app="http://schemas.android....
Dan Anderson's user avatar
  • 1,144
0 votes
1 answer
130 views

In my project, I try to remove the extra menu when the search view is clicked and return the menus when canceling the search view. Please find the screenshot below I use this below code to hide and ...
Jagan's user avatar
  • 642
1 vote
1 answer
2k views

I am new to Android programming and wanted to try implementing an options menu in an Android app, so I first created a test app and tried to create an options menu there. I wrote the code and ...
Om Gadekar's user avatar
0 votes
0 answers
34 views

I made an app for menu in Android studios. I have done everything correct i belive still not getting the desired output. Made xml file and inflated it but its not visible when we run the app.Menu xml ...
Vivek084's user avatar
0 votes
1 answer
809 views

On my working project we need to use SearchView in a few Fragments. The search bar itself have to be placed in Toolbar and opened by clicking the search button at the end of the Toolbar (see the image)...
UnDan's user avatar
  • 11
0 votes
1 answer
53 views

How do I make my Activity fit the entire screen? There is this black bar at the bottom of the screen, and a menu bar on the top of the screen with the apps name. I'd like to have it be just the ...
yambo's user avatar
  • 1,906
0 votes
1 answer
141 views

enter image description hereI can't find way to add button with icon to top screen menu. I don't even know name of this bar. I mean swiping down of top screen menu however your are, there are buttons ...
user avatar
1 vote
1 answer
612 views

I have 4 fragments but for each fragments it has different different menu options in my app with viewpager2 so the user swipe through these all fragments and when the app starts the menu option for ...
MR AR's user avatar
  • 13
0 votes
1 answer
4k views

According to this question, I tried to update my deprecated menus codes like setHasOptionsMenu , onCreateOptionsMenu and onOptionsItemSelected in my fragments and all app, but I should replace ...
Dr Mido's user avatar
  • 2,966
0 votes
0 answers
44 views

I have an action bar item set up to only show if there is room. When clicking onto the problematic screen when the device is in a vertical orientation, the item does not appear in the action bar. ...
newsworthy's user avatar
0 votes
1 answer
2k views

The DropdownMenu composable is not aligning to the width of the OutlinedTextField which is inside a Dialog composable. It is shifted slightly to the right. However, placing the DropdownMenu outside ...
Raj Narayanan's user avatar
0 votes
1 answer
584 views

Here's my xml code <group android:id="@+id/group1" > <item android:id="@+id/btnNightMode" android:title="Night Mode" android:icon="@drawable/...
user avatar
-1 votes
1 answer
626 views

I want to move from the fragment I am in by the add (+) item to the add fragment. How do I switch between fragments in the menu?enter image description here @Override public void onCreateOptionsMenu(@...
Kely_97's user avatar
  • 133
0 votes
0 answers
286 views

I'm needing help creating a customizable menu for my Android app. Is it possible to create a RecyclerView for the menu, create a layout for the cell, and do a for loop for the menu item name and image?...
Zachary Smouse's user avatar
1 vote
1 answer
915 views

Basically I have an android popup menu, when any menu item is clicked, it should reshuffle the order of the menu items <menu xmlns:android="http://schemas.android.com/apk/res/android"> ...
techdan's user avatar
  • 47
2 votes
3 answers
903 views

I have an overflow menu with a checkable menu item. I would like to align the CheckBox all the way to the end, but I don't know how this can be done. My menu is defined like so: <menu xmlns:android=...
shko's user avatar
  • 94
1 vote
0 answers
80 views

I have added two items in appbar menu. But it's taking too much space to appear. How can I reduce the space between those icons and how can I change the text size? Menu <item android:id="@+...
user avatar
0 votes
0 answers
139 views

I am creatinga menu for my app. First I only had one menu option (Informationen) and everything worked perfectly fine. Now I want to add a second screen (Impressum). I added the code below, but every ...
CSBossmann's user avatar
-3 votes
1 answer
165 views

How can I set a custom title for my action bar/toolbar ? I am using android:theme="@style/AppTheme.NoActionBar".
Codist's user avatar
  • 779
1 vote
1 answer
111 views

I'm using a click on the menu to open a bottom sheet. When this was initially implemented just returning false from AppCompatActivity#onMenuOpened didn't do the job. I see that someone already ...
Noa Drach's user avatar
  • 2,511
1 vote
1 answer
652 views

How can I get notified at the moment when the selection menu appears for TextView? See the screen recording below. If you select some text, context menu (copy/share/select all) appears. If you begin ...
Damn Vegetables's user avatar
1 vote
0 answers
599 views

I have started to receive this crash in Firebase Crashlytics. It is quite scarce. Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'androidx.navigation.q androidx....
Ondřej Basler's user avatar
1 vote
2 answers
692 views

Is it possible to hide/show the bottom navigation menu item in Kotlin based on the user logged in? I have some items in the bottom navigation which I do not want to show to all the users. Edit: Here ...
Codist's user avatar
  • 779
0 votes
2 answers
348 views

My application has a navigation drawer. From drawer options, I am opening different activities. At that time a blank screen is displayed before the new Activity. @Override public boolean ...
Malhotra's user avatar
  • 251
0 votes
0 answers
98 views

I am making an app where the main activity has a App bar layout with tabs already and I want to add an options menu on the top right. I created the xml file and added the code into my java activity ...
SUADD's user avatar
  • 23

1
2 3 4 5
26