This question already has answers here:
Hide ActionBar title just for one activity
(3 answers)
Closed 6 years ago.
I need some guide to remove the name of app which is quite annoying in top bar of navigation: App Top Bar Navigation
I'm using Toolbar and native google Navigation Drawer I tried some method like:
getSupportActionBar().setDisplayShowTitleEnabled(false);
but application stop working
or changing theme but not working
you must first call this setSupportActionBar(mToolbar);
also make sure that you are using style with Theme.AppCompat.Light.NoActionBar
Related
This question already has an answer here:
How to make bottom navigation show menu items with icon and text except center item menu show only icon? [closed]
(1 answer)
Closed 5 years ago.
So I seen the new PlayStaion app for android and I was wondring if I can find a library to implement a bottom navigation like it if any one know a library like this please comment.
here is a screenshot of PlayStaion Android App
Use Bottom Navigation Activity.
Android Studio 2.3 is provided itself Bottom Navigation
This question already has answers here:
Android Status Bar transparent with Navigation Drawer - Appbar elevation
(3 answers)
How to get the new NavigationView to play nice with status bar scrim?
(5 answers)
Closed 6 years ago.
I have an issue with a simple Android project I'm styling.
The issue is exactly like the one you can sse by creating and building a default project from Android Studio Navigation Drawer Activity: this template has the navigation drawer that covers also the status bar (like GMail, for example): but as you can see there is something like a gap between the appbar and the status bar.
I really don't like it and I would like to remove it somehow, but the only way I found at the moment (without create a detailed theme from scratch, which would be inconvenient for this simple project) is to put to edit values-v21/styles.xml from
<item name="android:statusBarColor">#android:color/transparent</item>
to
<item name="android:statusBarColor">#color/colorPrimaryDark</item>
but unfortunately that also prevents the navigation drawer to be shown full height!
I'm a little upset because I think that there is a very simple solution but I'm still not able to found it!
This question already has answers here:
Android overflow menu positioned above actionbar/toolbar?
(4 answers)
Closed 8 years ago.
I am trying to fix this problem i am having. My Action Menu is showing up over the Action Bar. I want it to show below. Like it normally should. The theme i am using is Theme.AppCompat.
This is how i want it: http://postimg.org/image/m7lrmwl09/
This is how i have it: http://postimg.org/image/yqiutbnob/
I have tried changing the theme but i need an AppCompat theme.
This is not a problem, this is the new standard behavior for Material Design:
http://www.google.com/design/spec/components/menus.html#menus-usage
This question already has answers here:
Action bar navigation modes are deprecated in Android L
(10 answers)
Closed 8 years ago.
I've seen that PagerTabStrip is a method of displaying tabs for a ViewPager. And now that ActionBar has been deprecated for Toolbar, it seems that the PagerTabStrip is my only option.
Except, I only see it comes out in the following style:
I really just want normal tabs (with icons) the way I could do it with the ActionBar before like this:
What is the proper way of doing this now? Should I use an old TabWidget and add tabs manually? Or is there a way of styling the PagerTabStrip that I didn't know about?
EDIT: Here's the library I ended up using: https://github.com/neokree/MaterialTabs
Have a look at SlidingTabLayout from Google I/O Android App. It depends on SlidingTabStrip.
You can see how it's used by doing a simple search: you add it to your layout and then just connect it with your ViewPager like so:
slidingTabLayout.setViewPager(viewPager);
There is a way to setCustomTabView to customize the tabs.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Creating a sliding drawer with menu items
As shown in the screen shot attached i need to show a menu in my application. How it is possible ?
I guess you are using action bar sherlock library,If so, first enable homebutton which is on left side of an actionbar
mActionbar.setHomeButtonEnabled(true);
Then, Set Icon for that button
mActionbar.setIcon(R.drawable.image_name);