android-design-library
android-design-library copied to clipboard
Build a Material Design App with the Android Design Support Library
The code to open drawer is NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); // navigationView.setNavigationItemSelectedListener( // new NavigationView.OnNavigationItemSelectedListener() { // // This method will trigger on item Click of navigation menu //...
Deprecate samples in favor of https://github.com/material-components/material-components-android-codelabs
Setting layout_height as match_parent in item_list, item_card, item_tiles doesn't give expected view. It should be set to wrap text
1) Double checked local.properties in root have location of my SDK: sdk.dir=/Applications/android-sdk-mac_x86. (Using Mac, 10.11). Tried manually to change SDK location in sdk.dir using relative notation ../../../ (etc), same outcome...
Navigation drawer goes behind action bar..and in detail activity collapsing toolbar goies behind actionbar..i checked completeley in code..give me some solutions..
android:singleLine="true" -> android:maxLines="1"
there is code for navigation drawer but it dosent work on sliding from any side
I would like to implement a transition between those two activities. It would be nice to have a sample code that show how to implement this transition ! https://material.io/guidelines/motion/material-motion.html#material-motion-what-makes-a-good-transition
- Updated gradle.build files to use latest SDK version - Updated layout XML files for better RTL language support - Fixed an attribute deprecation (android:singleLine) - Fixed some minor inconsistencies...
The error is in this step: https://codelabs.developers.google.com/codelabs/material-design-style/#6 This paragraph is wrong: > In values-21 folder, update styles.xml to create system bar transparent for device running Android 5 and above. See...