open Navigation Drawer by click on top left icon - android

I create a BaseActivity and extend other activities from it so the navigation appears on all activities well
now i want to show an icon on the top left like google play app when the user clicks on it it open the side menu
thanks in advance.

Related

create onwill pop bottom navigation bar in flutter

hey can somebody teach me the most simple way to create Bottom Navigation bar On will Pop ?for example we are in home tab and checking the post shop... with press back button we should not exit from the app . and we also can back to icon navigation bar Respectively like Instagram . for ex we are in search tab and when I want to press back , I should see home Tab Thanks

Is it possible to open Navigation slider from right side on click of lsat item of bottom navigation

I have used Bottom Navigation, on click of end options menu (say 'More') I want to open navigation Slider from Right side of screen. Is it possible? If yes, then how to do this?

Swipe to open expand a View, on an Activity containing a navigation menu

I've implemented a keyboard on an android app, and the app also has a navigation drawer.
The result im trying to achieve is something like what they have on a google calculator, where that green rectangle with an arrow on the right , can be open with a click, or a swipe
Can someone give me some pointers how to do this, considering that the navigation drawer already have swipe to open and close
Thank you

how to place an icon on the rightside of the screen to open navigation drawer in android

i am developing an chat app in that there are two navigation drawer
Left side drawer has hamburger icon to open and close
i want to place an icon in the right side of the screen so that when the user touches icon the navigation drawer will open like in android emulator there is small icon extending to the navigation drawer
Use menu items like below:
<item
android:id="#+id/workteamaction"
android:icon="#drawable/yourimage"
android:title="#string/yourtitle"
app:showAsAction="always" />
And set your image.then, handle it for showing that NavigationDrawer.
Also, take a look:
Two Navigation Drawer on same Activity
Handling a Menu Item Click Event - Android
Also, i've saw one application was using OveflowMenu for opening another NavigationDrawer.you may want to take a look at here :
Android create custom overflow menu item
Edit:
i want to place an icon in the right side of the screen so that when
the user touches icon the navigation drawer will open like in android
emulator there is small icon extending to the navigation drawer
Use android:gravity="" for your porpuse and then handle it for showing that NavigationDrawer.
E.g: android:gravity="end"
Read the docs for the flags.(right-left-center-buttom or etc).

Navigation Drawer toggle button

I've setup up a navigation drawer in my android App. I would like to add a button to the left but not in the action bar, because I don't have action bar. What I want to do is a button which can be taken and swiped to open the menu.
In the doc : http://developer.android.com/training/implementing-navigation/nav-drawer.html#ActionBarIcon I don't want to use the app icon, but my own button.
Is it possible ?
With this library you can do exactly what you want. It's easy to implement and use.
https://github.com/jfeinstein10/SlidingMenu

Categories

Resources