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
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
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?
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
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).
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