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 Navigati...
If you are one of those who just updated their WhatsApp app then the talk of town for you must be the variety of features that WhatsApp just introduced. But within the array of features being introduced the one which is getting all the attention is the new set of emoticons. Users can now select face and hand gestures in different skin tones. Associating fairness with beauty and superiority has been a part and parcel of our society though highly de-humanising and fairness creams have long been part of this propaganda but what glued all eyes on the WhatsApp was the segregation of different skin tones on a very popular messaging app like this which introduced its racially diverse emoji update for all users. It has been since facing a lot of criticism for the same, but is it right to criticise? The point to ponder upon is what exactly was WhatsApp thinking about this version? Is it to indicate that a dark tone person should use a dark emoji and vice-versa? However,...
By : Developers of VIT Slate 1. Libraries: Well, the whole developer community will agree that without libraries our life would have been hell. But when it comes to using them, you have to customize the functionalities which the library gives you. I agree that the documentation with which a library comes is good. Still, using them will be an effort saving another effort. While developing VIT Slate, the greatest library that I came across is CardsLibrary [verify the name] by Gabriel. It was easy to customize but there were some libraries which literally gave me real pain !!! 2. Hardcoding: We just don’t hard code! Android comes in all shapes and sizes and that’s the reason never hard code any dimension for a UI element. I hard coded an image’s dimensions in VIT Slate and someone came and asked me why is this pic in team section so small. And I was saying to him, “Can you please move, I want to hit my head against the wall because I hard coded.” 3....
Comments
Post a Comment