jmartinesp / googlenavigationdrawermenu Goto Github PK
View Code? Open in Web Editor NEWAndroid Library for a DrawerLayout similar to the one in Google Apps
Android Library for a DrawerLayout similar to the one in Google Apps
Hi,
I'd like a feature to enable or disable only one item in the main list.
For example, the item disabled could have a grey background and it can't be checked.
Is this possible? :)
Thanks!
Hi! I've copied the exact same example from README.md and everything works with it. But when I add items in arrays.xml the app crashes with ArrayOutOfBoundsException. Here's the logcat:
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=12; index=12
at android.content.res.TypedArray.getResourceId(TypedArray.java:571)
at org.arasthel.googlenavdrawermenu.views.GoogleNavigationDrawer.configureWithTypedArray(GoogleNavigationDrawer.java:235)
at org.arasthel.googlenavdrawermenu.views.GoogleNavigationDrawer.(GoogleNavigationDrawer.java:89)
Hi
Can I use this lib with out action bar ?
The following classes could not be instantiated:
- org.arasthel.googlenavdrawermenu.views.GoogleNavigationDrawer (Open Class, Show Exception)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE Exception Details java.lang.UnsupportedOperationException at android.content.res.BridgeResources.obtainTypedArray(BridgeResources.java:318) at org.arasthel.googlenavdrawermenu.views.GoogleNavigationDrawer.configureWithTypedArray(GoogleNavigationDrawer.java:231) at org.arasthel.googlenavdrawermenu.views.GoogleNavigationDrawer.(GoogleNavigationDrawer.java:89) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at android.view.LayoutInflater.inflate(LayoutInflater.java:469) at android.view.LayoutInflater.inflate(LayoutInflater.java:373)"
I think you should do nothing if it is View.isInEditMode()
will make it look the same at all android versions.
Hi,
I'm not enabled to set the height params for header view in my project...
Pratically, I built an header layout but the layout_height doesn't seem to be read and when I execute the code, this height params was reset and I don't know why!
This is my header view:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="@color/dark_gray">
//...other widgets
</RelativeLayout>
When I try to change the layout_height (100dp in my snippet code), doesn't change the height when I execute the code...
How can I solve?
Thanks!!
I would like the secondary list is not marked as selected, because in my app, this calls for a new activity. It is not good when return, is checked.
Hi,
is it possible to change menu and back arrow?
my actionbar background color is dark. it is impossible to see icons.
thanks...
Hi,
@Arasthel Thanks for this excellent library.
Normal Navigation drawer has this feature but this doesn't
I noticed that the action bar title doesn't change when navigation drawer is opened & revert back to old when navigation drawer is closed.
So I've added the library to my project using Android Studio and I'm getting the following errors during gradle file synchronization:
C:\Users\Andrew Quebe\Documents\Android Development\Projects\Planets-Gradle\libraries\Navigation-Drawer-Sample\src\main\java\org\arasthel\googlenavdrawermenu\views\GoogleNavigationDrawer.java
Error:(194, 13) error: cannot find symbol variable isSecondarySectionsClickable
Error:(194, 45) error: cannot find symbol variable IsSecondarySectionsClickable
Error:(323, 126) error: TYPE_MAIN has private access in GoogleNavigationDrawerAdapter
Using latest support library, the code won't compile until you declare min SDK for Android L
When using actionBar overlay mode, it is not possible to have the drawer to fit the system window. It appears behind the actionBar.
It can have the requested behavior with the DrawerLayout fron the support librarie.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.