I have created an android app with a navigation bar activity. I have added an image header to the navigation drawer activity. But, it is showing a little gap in the left.
Please help me.
Here is the link to the emulator screenshot.
https://drive.google.com/uc?export=download&id=0ByJqiordkH5zYm9mam1MTTRvU2c
Thanks.
Also, send me a good tutorial on adding icons to items in navigation drawer.
Thanks I did it. I used android:ScaleType="fitStart" to clear this.
Related
I program in android app with android studio. I would like to try to make the same top sliding drawer like this that is in the app of "airbnb". I tried with sliding drawer but I don't know how to start first because the sliding drawer component of android is "depracated" after API 17. I also tried with navigation drawer but it is on the side and not from top to bottom.
I don't think that the navigation drawer or drawer layout could help.
Thanks a lot !
If someone has an idea...
Refer to this library: Link
There are instructions about how to make this panel slide from top in the readme file.
I am new to Android. I want to implement navigation drawer as this :
The Navigation drawer should open below App Bar and should have red left pane for category icon and right page (white) with navigation options.
I am trying to convert default Navigation Drawer activity of Android to this style but don't know where to start with.
If anyone can help me implementing this would be great help.
Thanks in advance.
you need a custom navigation drawer to achive that, you can start by following this link https://github.com/awidiyadew/DrawerMultiLevelListview
On Lollipop, in the Gmail app, the nav drawer opens up behind the top status bar. My nav drawer layout is match_parent, but it stops below the status bar. Any idea how to accomplish this?
FYI I am using the new Toolbar...
Got this image off the internet, don't mind the image on the right..
Please see this answer:
https://stackoverflow.com/a/26440880/961759
Here's a nice open source example on how to accomplish the desired behaviour
https://github.com/kanytu/android-material-drawer-template
I've implemented a navigation drawer, and it has the standard 3 lines going across.
I've been looking around for methods to change that icon, but I haven't found much luck. I really only want to make the lines more spaced out and longer (like in the playstore).
Any suggestions?
If I understand correctly, you're looking to change the
icon
There is a Navigation Drawer Indicator Generator in the Android Asset Studio.
The icon is available for download in the Android training lesson Creating a Navigation Drawer.
As far as I can tell, you can follow that tutorial and swap in whatever icon you'd like.
I am making an app. I need to implement a drawer layout. I had done that part but now i have to slide action bar while opening drawer layout like face Book. Please give me some solution.
please help me.
you can use external library for sliding menu. Here it is like for library and source example
https://github.com/jfeinstein10/SlidingMenu
Hope you like it