android-actionbar Questions
4
Solved
so I am trying to get my menu item, that is show on the action bar to behave like a checkable menu option. The firs part works, meaning it is checkable and when I press it, and set in code the setC...
Nieshanieto asked 16/11, 2011 at 8:34
5
Solved
I have an app with a reasonably long title (e.g. My Long Title App). I am using an ActionBar and noticed the app title keeps being truncated (e.g. My Long Title A...). This happens even though 2 ac...
Tun asked 22/3, 2013 at 17:14
12
Solved
I have a OnItemSelectedListener for my Spinner, but it is not called when the selected item is the same as the previous one. Apparently the OnClickListener is not an option for a Spinner.
I need to...
Bina asked 1/6, 2012 at 16:46
10
Solved
I am pretty new to java and android development; and I have been working on an app in which I want an action bar with a SearchView. I have looked at the google examples but I can not get it to work...
Ordeal asked 28/7, 2012 at 7:35
23
Solved
Does anybody know how to set padding between the ActionBar's home icon and the title?
Leeds asked 16/3, 2012 at 12:18
4
I have been trying to make a home page for my app which contains some modern dashboard along with navigation drawer.
Error found in my code:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com....
Deepfry asked 28/5, 2020 at 9:31
4
Solved
Before write this thread I have try to implement the different solution that I found in stackoverflow, but nothing work properly.
I'm developing an Android applucation that use the custom navigati...
Meredithmeredithe asked 13/9, 2016 at 15:9
4
Solved
I've just updated my app from using SDK 23 to SDK 24.
A problem has arisen for my activities that have show the Up/Home arrow (i.e., getSupportActionBar().setDisplayHomeAsUpEnabled(true)) in that ...
Meperidine asked 16/6, 2016 at 12:51
4
Solved
I've been able to add all of my markers to my map, using locations provided by my API, but I've been unable to add an ActionBar.
As mentioned, I am using the Android Studio "Google Maps Activity" ...
Orleanist asked 16/1, 2015 at 18:27
17
I have a searchView in the ActionBar. I want to dismiss the keyboard when the user is done with input. I have the following queryTextListener on the searchView
final SearchView.OnQueryTextListener...
Pedroza asked 13/9, 2011 at 22:23
7
Solved
I want to set up my toolbar as an actionbar, but since your toolbar is a layoutelement it has to be in your layout. Now my layout is in my fragment.
I added the toolbar in my layout and I call it ...
Wray asked 20/11, 2014 at 1:25
8
Solved
My app is showing name and icon. I want to hide name.
How i can do that?
Luciferase asked 13/5, 2015 at 13:25
8
Solved
I tried to implement an action bar in my application.
menu.xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
an...
Vancouver asked 29/7, 2013 at 9:5
6
Solved
ActionBar - setTitle seems to not to be called. All other things I'm doing with ActionBar (like HomeIsUp and so on) are going well, but setTitle - not.
Here is the code of a simple activity:
publ...
Coulson asked 25/9, 2014 at 18:18
27
Solved
I have an action bar with a menuitem. How can I hide/show that menu item?
This is what I'm trying to do:
MenuItem item = (MenuItem) findViewById(R.id.addAction);
item.setVisible(false);
this.inva...
Machicolate asked 21/5, 2012 at 21:18
18
I know it's not possible using the native API. Is there a workaround to implement that kind of view?
Newspaperwoman asked 22/8, 2013 at 7:27
2
Solved
I want to hide default action bar, so in the Manifest file I have following code:
<style name="Theme.MyCompose" parent="Theme.Material.DayNight.NoActionBar">
</style&g...
Midterm asked 23/9, 2021 at 19:4
15
Solved
Is it possible to change the color of the overflow button(3 vertical dots) on the action bar?
If so, how do we do that? I didn't find any style for overflow button.
Thanks
Hydrodynamics asked 11/7, 2012 at 4:39
21
Solved
I've developed a simple demo application with a splash screen a map and some regular screens.
I have an action bar at the top that contains a logo. It all looks fine on my phone (Galaxy s1 I9000 V...
Expectant asked 23/10, 2013 at 15:1
15
Solved
I need to know the exact size of ActionBar in pixels so to apply correct background image.
Prussian asked 23/8, 2011 at 18:30
27
Solved
Trying to move over my stuff to use Toolbar instead of action bar but I keep getting an error saying
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tyczj.weddingalbum/com.x...
Undersea asked 22/10, 2014 at 18:59
3
Solved
I'm trying to use the Android Jetpack Settings guide with a toolbar. The guide says that the root tag to be <PreferencesScreen>, so I can not include the toolbar in the xml. I'm using a NoAct...
Mandamandaean asked 23/11, 2020 at 15:20
10
I am trying to get the ActionBar working properly on my app (and I'm using ActionBarSherlock to get a unified UI between Android 2.x and 4.x).
I feel like android:showAsAction="ifRoom" is just a ...
Tieck asked 10/4, 2013 at 5:50
12
Solved
I wana add a notification badge on the cart image placed in action bar and manipulate it programmatically. Any Help?
Referee asked 3/4, 2017 at 21:4
9
Solved
There is this widget for the ActionBar which called 'SearchView'.
When it's not in use, it looks like this:
And when it's in use, it looks like this:
I want (programmatically of course) to op...
Sourdough asked 9/1, 2013 at 12:54
1 Next >
© 2022 - 2025 — McMap. All rights reserved.