Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty drawer #6

Closed
alx5962 opened this issue Nov 3, 2014 · 6 comments
Closed

Empty drawer #6

alx5962 opened this issue Nov 3, 2014 · 6 comments

Comments

@alx5962
Copy link

alx5962 commented Nov 3, 2014

Hi!
I just compiled this app on Android Studio and it's running fine excepted the navigation drawer which is empty. I checked the XML and there's a ListView so it should be nice to have data here.
XML is also missing android:fitsSystemWindows="true".

@antoniolg
Copy link
Owner

It's done on purpose, it's not the focus of this repo to learn how to use the menu drawer, only to explain the use of appcomat to use the material theme in previous Android versions.

@alx5962
Copy link
Author

alx5962 commented Nov 14, 2014

But then it looks like a bug as it is empty.
Drawer is designed in a new way with Material Design:
http://www.google.com/design/spec/patterns/navigation-drawer.html
It would be very nice if you could update your demo with at least a minimal
content (like a ripple effect).

2014-11-14 9:57 GMT+01:00 Antonio Leiva notifications@github.com:

It's done on purpose, it's not the focus of this repo to learn how to use
the menu drawer, only to explain the use of appcomat to use the material
theme in previous Android versions.


Reply to this email directly or view it on GitHub
#6 (comment)
.

@antoniolg
Copy link
Owner

Yeah, I understand the point. This example was created to support the explanation of this post: http://antonioleiva.com/material-design-everywhere/

And I don't cover anything about menu drawers there. Maybe I write something about menu drawers and update this code, but not sure if that will happen and when. If you like, you could make a PR to this code and I'll feel glad to review and merge.

@alx5962
Copy link
Author

alx5962 commented Nov 14, 2014

I understand your point too of course :)
I really liked your sample BTW, as it helped me a lot to undestand how
appcompat works so thank you for this. Last week, I cloned your code and
added some data (as I wanted to display a ripple effect on my listview).
But the end result is sluggish (on my Nexus5 !) and I haven't found a way
to change the default selected color on v21 (I tried a lot of different
values in listSelector but nothing happens). I need to check if it's now
fixed on my N5 as I just got the final release of Lollipop yesterday.

2014-11-14 10:19 GMT+01:00 Antonio Leiva notifications@github.com:

Yeah, I understand the point. This example was created to support the
explanation of this post:
http://antonioleiva.com/material-design-everywhere/

And I don't cover anything about menu drawers there. Maybe I write
something about menu drawers and update this code, but not sure if that
will happen and when. If you like, you could make a PR to this code and
I'll feel glad to review and merge.


Reply to this email directly or view it on GitHub
#6 (comment)
.

@paulvi
Copy link

paulvi commented Nov 24, 2014

ref #11 OK, so the drawer won't be empty after someone makes PR to fix that.

@antoniolg
Copy link
Owner

As I said, this is totally intentional, not an error to fix, because it's not the purpose of the example. If I have some time, I'll end up doing it because many people request it, but I'm not planning to create a full functional app from this example, just explain how to use AppCompat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants