Hello guys, this post will teach you how to add both Left and Right Navigation Drawers in your Android App. You may need one Nav Drawer on the right to give your users a different set of options, not to distract them from the main navigation items on the left. I have used Android Studio 1.5.1 Build 141.2456560 . So here we go. 1) Navigation Drawer Activity When creating a New Project, choose Navigation Drawer Activity. This makes things easy. If this option is not available, you can the simply choose Blank Activity and later make the project structure similar to Navigation Drawer Activity. See the layout files here . If you run the app at this point, you will see the Left Nav Drawer. 2) Navigation Views As you can see I have added 2 Navigation Views inside Drawer Layout...one for left-side and other for right-side. For the Right-side, add android:layout_gravity="end" Other th
1) 100,000 Stars http://stars.chromeexperiments.com/ --> by Google Data Arts Team This one is my favorite . It shows the real location of over 100,000 nearby stars. Zooming in reveals 87 major named stars and our solar system. The galaxy view is an artist's rendition. 2) WebGL Water Simulation http://madebyevan.com/webgl-water/ --> by Bruno Quintela This is the best in its types. A pool of water rendered with reflection, refraction, caustics, and ambient occlusion. The pool is simulated with a heightfield and contains a sphere that can interact with the water's surface. 3) GPU Text http://cabbi.bo/Text/ --> by Isaac Cohen GPGPU Physics simulation using signed distance field text. It adds some crazy effects to the text when you hover or scroll over it. This one is a MUST try. 4) Harmony http://mrdoob.com/projects/harmony/ --> by Mr.doob Believe me, you will not like
Comments
Post a Comment