Android Navigation Drawer
220
votes
3answers
54k views
Navigation Drawer (Google+ vs. YouTube)
Does anyone know how to implement a sliding menu like some of the top apps of today?
Other Stack Overflow questions haven't had any answers on how to do this, so I'm trying to gather as much info to ...
12
votes
2answers
1k views
Navigation Drawer rendering error in ADT Layout Editor
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ListView
android:id="@+id/left_drawer"
...
4
votes
2answers
654 views
Android Navigation Drawer
I was trying to explore the new navigation drawer that is standardized by Google. Finally we have the official code as well.
I was trying to understand the best way to implement the same in my app.
...
4
votes
1answer
283 views
+50
Touch anywhere to slide open menu for navigation drawer
For Sliding menu by jfeinstein10 (https://github.com/jfeinstein10/SlidingMenu), I can slide anywhere in the app to slide open the menu.
For Google newly introduced navigation drawer ...
3
votes
1answer
291 views
Android Navigation Drawer over the tabs
I am using the new navigation drawer available from the support library. When using the drawer along with tabs, the drawer menu is getting displayed below the tabs as shown below. How can i make sure ...
3
votes
2answers
154 views
Change Drawer Icon for NavigationDrawer doesn't work
Hey guys I am currently trying to implement the new NavigationDrawer provided since the last Android keynote. Now I got everything up and running, the navigation drawer opens and closes when pressing ...
2
votes
1answer
944 views
Android DrawerLayout component
I have some problems with the DrawerLayout component. I'm using the android-support-v4 jar and when I'm launching the app I have this exception :
05-19 01:33:57.402: E/AndroidRuntime(3120): FATAL ...
2
votes
1answer
81 views
New NavigationDrawer on tablets with fixed left layout
I could not find a way to do a tablet multi-pane layout easily with NavigationDrawer. Play Music app does that.
I have used LOCK_MODE_LOCKED_OPENED but it opens the drawer on top of the content as ...
2
votes
1answer
66 views
Google's NavigationDrawer not drawing correctly over map
I'm having this issue with Google's NavigationDrawer not drawing correctly over the map when I pull it out from the side of the screen, it's being drawn under the map instead of over it, when closing ...
1
vote
2answers
156 views
How to add title in Navigation drawer layout?
[UPDATE]
I solve the problem by adding addHeaderView :
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
...
1
vote
1answer
87 views
Android, slidingpanelayout vs navigationDrawer
I'm about to use one of them and yet i'm very confused.
I don't know the difference. to me, both look the same.
I've passed through this Difference between SlidingPaneLayout and NavigationDrawer
...
1
vote
3answers
455 views
Android Navigation Drawer and windowActionBarOverlay = true
I'm trying to implement the new Android Navigation Drawer in my application. I have created a BaseActivity.java that handles the Drawer setup and listeners, and I have two subactivities that extend ...
1
vote
1answer
55 views
Navigation Drawer always visible (a little bit)
I'm using the Google's new Navigation Drawer, and i'm trying to set it always visible, like in Hangout,) but i can't find any documentation on how to achieve this.
Someone can help me?
1
vote
0answers
43 views
Set drag margin for Android Navigation Drawer
I am using the new Navigation Drawer in my app. It is great except I have not found an easy way to set how the drawer is open. The default behavior is drag from the left edge of the screen to open. ...
1
vote
2answers
213 views
Navigation Drawer : add headers in listview
I have created a project with the new navigation drawer Object.
I would like to customize the layout of the menu, to add another object like TextView, ImageView ... And for begining, i would like to ...
1
vote
1answer
115 views
Full width Navigation Drawer
I'd like to create a full width navigation drawer. Setting layout_width to match_parent on @+id/left_drawer yields in width of about 80% of screen space. This seems to be the standard behavior. Do I ...
1
vote
1answer
236 views
Android Navigation Drawer Design
I have an existing application that has about 25 activities that are navigated to from a "dashboard". I would like to switch and start using the Navigation drawer and fragments. I have gone thru the ...
1
vote
0answers
546 views
Navigation Drawer Layout [closed]
What's the best approach to implementing submenus within a ListView as recommended as part of the new navigation drawer UI pattern for Android? Should I handle all the changes to the row views in the ...
0
votes
2answers
73 views
Cannot resolve symbol DrawerLayout
I'm trying to implement the Navigation Drawer as shown here: http://developer.android.com/training/implementing-navigation/nav-drawer.html#top
My code seems to be ok, and My minimum and target ...
0
votes
1answer
106 views
Set Background Color of Navigation Drawer
I wanted to set the background color of my Navigation drawer in java but it seems as setBackgroundColor and all similar methods have no effect.
Only the XML line android:background="@color/mycolor" is ...
0
votes
2answers
59 views
Section Headers in Navigation Drawer Listview
I want to implement section headers similar to the one used by pirate Bay
Basically a Listview like this:
header Name
list Item
list Item
list Item
list Item
header Name
list Item
list Item
list ...
0
votes
2answers
765 views
Error inflating DrawerLayout
public class HomeActivity extends Activity {
private String[] drawer_options;
private ListView mDrawerList;
private DrawerLayout mDrawerLayout;
private ActionBarDrawerToggle mDrawerToggle;
private ...
0
votes
0answers
10 views
Navigation Drawer Interactiong with MapFragment
I'm using the Google Maps API V2 for Android and I was wondering if the new Navigation Drawer from Google could interact with a MapFragement.
In the drawer there would be a list of waypoints and when ...
0
votes
0answers
16 views
Using TabPageIndicator with Navigation Drawer
When using the TabPageIndicator (from ViewPagerIndicator lib) and a Navigation Drawer together I get the exception "ViewPager not bound".
I've tried with both the SideMenu lib, and the android ...
0
votes
0answers
13 views
Buttons on Navigation Drawer not working
I'm trying to customize a Navigation Drawer so it displays a grid of Buttons. The problem is that after inflating the grid with a customized adapter the buttons don't seem to work.
I've implemented ...
0
votes
1answer
13 views
DrawerLayout on click disabled after first event
I'm trying to implement a drawer layout in my app. I follow the tutorial on android developer site and all goes fine. I have only a "little" problem: I lunch the app, open the drawer layout and click ...
0
votes
1answer
26 views
NavigationDrawer is not working
I have read the documentation for NavigationDrawer and tried to create it in my own application. But there is a trouble: the ListView that should be used as menu just floats over the main content and ...
0
votes
0answers
26 views
Align action bar option menu to the right
The default App icon and options menu item appear on the left side of the action bar. I would like the options menu to appear on the right side of the menu bar.
I have used a custom view to display ...
0
votes
0answers
16 views
Traces of Screen on closing of Navigation Drawer
i have been using #drawer layout# , I have created basic sample application which works fine on tablets and high end mobile phones ,but when run on low end phone like micromax A89 and LAVA iris502 the ...
0
votes
1answer
61 views
Navigation List Drawer not a ListView?
I've just begun playing with Android's new navigation drawer. Is it possible to have a custom view (specifically custom ScrollView) instead of the ListView in the drawer? I've been running into errors ...
0
votes
1answer
26 views
Navigation drawer will close even if overwrite onBackPressed()
Is there a way to prevent navigation drawer from closing when back button is pressed? For testing purpose I make the call to onBackPressed() empty
@Override
public void onBackPressed() {
}
but the ...
0
votes
1answer
119 views
Add 2 listview's in navigation drawer, only one works
I try to create a navigation drawer with 2 seperate listview inside.
The first listview called "mDrawerList" is well displayed.
- There is only one item in this list.
The second listview called ...
0
votes
0answers
450 views
How to Add icons adjacent to titles for Android Navigation Drawer
I am currently working on an android app for 4.2.2 that uses the new NavigationDrawer. It works like a charm except for adding icons.
I found some sample code in which the List view becomes a ...
0
votes
1answer
91 views
Remove app icon from Drawer not working in Android 4.1
I have an app that its installed in the user's phone and remains hidden from the Applications Drawer, to achieve this it was only a matter of removing the intent-filter tags, this work fine for ...
0
votes
1answer
349 views
Android DrawerLayout background selection on ListView
I've developped an app with a DrawerLayout.
My problem is with the ListView, when I click on an item his textColor becomes white, but background still transparent and the ListView background is ...
-1
votes
3answers
597 views
OnItemClickListener Navigation Drawer
i make an app from the example of Android Developers with the Navigation Drawer. I make the items but i don't know how i can open new Activity from each of items.
This is the MainActivity
public ...
-2
votes
1answer
197 views
“gen” Folder not generated in Example Project [closed]
I downloaded the Navigation Drawer Demo from here: http://developer.android.com/training/implementing-navigation/nav-drawer.html#top
I imported the project into my eclipse but it doesn't generate a ...
-3
votes
0answers
41 views
More Items in OnItemClickListener [closed]
I'm making an app with the Navigation Drawer, the app works fine and the items are clickable. But I don't know how I can to create new items with new activity!
Like this:
item1--> ...