[Q] Add more sections in navigation drawer activity. - Android Q&A, Help & Troubleshooting

I am using android studio for making an application, but when choosing navigation drawer activity at starting, it gives 3 sections. I configured that by adding fragments and java code editing, but want to know how to add more than 3 sections. Thanks

Related

App Drawer Icons and Their Related Processes

Hey everyone
i've been compiling my own .apk's for my own personal use with LauncherPro today, using icon packs i've found throughout the XDA Forums
I've had some issues trying to figure out what the correct way to go about naming the files for the Dialer and the Contacts icon
They both pretty much go to the same app, just a different tab within that app.
IF someone could provide me with the proper filename or even just the activity name, or a method of finding out which process / activity it is that i need for the different icons, especially for the Dialer icon and the Contacts icon, that would be great!

[GUIDE] how to create beautiful UCCW skins

IN PROGRESS
HOW TO CREATE BEAUTIFUL UCCW SKINS
0. Contents
Introduction
About UCCW
Basic UCCW Usage
How to build skins
Designing
1. Introduction
I am aware that there are in fact many other UCCW guides out there. I won't be focusing much on how to do this or that... What I want to teach you is how to create beautiful and functional skins. As such the sections of this tutorial focusing on the actual widget building will be short, and may not cover everything that UCCW offers, but the design section will have a lot more content
2. About UCCW
UCCW or Ultimate Custom Clock Widget is a software developed by our own vineetksirohi.
XDA link: http://forum.xda-developers.com/showthread.php?t=1386987
Play store link: https://play.google.com/store/apps/details?id=in.vineetsirohi.customwidget
vineetksirohi said:
Make your own widgets easily in a WYSIWYG (What-you-see-is-what-you-get) editor. Use custom layout, fonts, images, shapes, interesting objects like series clocks, weather information with icons,
unread sms and gmail counts, battery information with bars and pie graphs, analog clocks, TASKER VARIABLES and more. Use hotspots to assign actions to widget.
Does not require programming, editing xml files or rooting your phone. Share your creations easily either through uzip files or make apks and post on Google play.
Or keep your unique widgets to yourself and tease others.
Click to expand...
Click to collapse
3. Basic usage
UCCW has two parts. One is the widget that is added to the homescreen, the other is the app in the launcher that can be used to:
1. Import skins
2. Edit skins
3. Export skins
The editor has several features
1. The menu bar above
Add/remove button - add or remove various widget components such as date and time etc.
Component selector - select which component you are currently editing
The sort button - choose which components appear above the others
3. The preview area - allows you to move the currently selected component ( don't use this, it's better to move the components more precisely)
4. The editing area - has several panes which can be navigated by sliding to the left and right.
5. The menu. - the most important things here are the save button and the option to turn hotspot mode on and off. When hotspot mode is off you can edit widgets by clicking them on the homescreen, when it is on you can use the shortcuts defined in the skin.
As far as the features of UCCW that I generally use:
0. General - background, hotspots that can be assigned to different actions
1. Clock - as time or by separate parts (hours, minutes)
2. Date
3. Battery - circle, bar, status, level
4. Calendar - next event time, next event text
5. Notifications - missed calls, text messages, unread gmail, next alarm time
4. How to build skins
Please refer to the following videos by mycolorscreen on youtube
Part 1: http://www.youtube.com/watch?v=s5X0ZCI5Kg0
Part 2: http://www.youtube.com/watch?v=t5c2Sa9UGG0
Part 3: http://www.youtube.com/watch?v=Dz2zf_AJRFc
At the end of this you should have a basic idea of how to deal with the different components. Now time for me to add my part
Advice:
1. Always move components so they align with each other, pixel for pixel.
2. Always start your widget with a nice good size like 400 x 100 for a 4x1 widget. This is to make it easier for you to create background images
3. Be consistent with your use of colors and font size, unless variety is part of your design
4. Try to size components appropriately so that they stay within the bounds of the widget.
5. Designing
IMPORTANT: a UCCW skin without a proper background or forethought design will always look ugly/disappoint you. You must first spend a good amount of time looking for inspiration and sketching initial designs before you execute and make the skin.
i. Inspiration
Look for user interfaces in movies (like Iron Man) and websites such as Google images, deviantart, or look at desktop customization software such as Rainmeter. Don't attempt to copy someone elses work. Instead, choose elements of other works you like, and combine them with your imagination.
ii. Initial design
Whip out your pencil and paper, or if you're good enough, a tool like Photoshop or Fireworks. I totally recommend pencil and paper as it is the fastest. Sketch a design. Don't attempt to make UI elements too small (in the name of readability). Don't make it too fancy unless you know it's gonna work out for you. Don't feel bad if your first designs look lackluster. It's a learning process and your first skins might not look as you want, but you will reach there eventually.
iii. More advice
Start with basic widgets such as date/time/battery. The first thing to do is to set your wallpaper to a contrasting color, and then being positioning the text and other components. Next, create a background image. I recommend Paint.NET to create it.( http://www.getpaint.net/ ). Ideally, the background should provide bordering for the various components of the widget, and it should be designed in a way that it does not lose quality if used on a higher quality screen (simply: avoid curved edges and stick to rectangular/straight designs). The most part of the background image should also be slightly transparent as this looks the best.
iv. Yet more advice
You will need time to play around with your widget and experience it to see if it looks good and it it handles different content nicely (i.e. different lengths of text in a component). Try to use it for at least a couple days before you release.
Good tutorial!
(SUPER BUMP)
how to export widgets or skins i make

How to use navigation drawer fragment in Android Studio

Hi.
Having some problems, I have converted from WP to Android and having trouble getting things to work.
I am using Android Studio and have started a new project where I am using the Navigation Drawer Fragment sample.
My question is how do I get the layout to show different items depending on wich item I select in the Navigation Drawer.
Thanks.

Expose activity to access app drawer

I would like to access Themer's app drawer form other applications: LMT, Tasker, etc.
Could you expose an activity to allow this? Preferably one which allows me to select the destination target: Favorites, Apps, where I was last, etc
Thanks a lot for such great application. It a fast improved aesthetic experience.

GravityBox Lockscreen Tweaks Update Suggestions Requests Please! Thank You!

Hi!
I am using GravityBox with Xposed installed on my "Vernee Apollo" phone (the 2K version not the "Lite" version) which runs Android 6.0. The phone has full root.
Using GravityBox with Android 6.0 you have to realize that I don't know what exact and complete functions have GravityBox on its upper versions for later android versions, so I have to ask for developers for a few upgrades for the "Lockscreen Tweaks" section if I may, based on "GravityBox [MM]" only, please! Thank you for your understanding!
To get to the point here, below are the functions/settings I would like to see for the next releases of GravityBox:
1. Add More shortcuts than the 7 standard ones. Maybe we need to have 8, 10, 15 shortcuts on the lockscreen window, displayed on 2-3 rows. I am referring to these particular standard icons and not the "Pie controls" and/or "Application launcher" (I am not using these two sections/functions at all).
2. Add an option to make these 7 icons for these 7 shortcuts to be visible or unvisible/hidden on the lockscreen window. What I mean is the icons to become visible only when a notification arrives and after I see that linked notification, that (those) icon(s) to become hidden again. In this way we would have a clear lockscreen, only with the clock and/or date.
3. Upgrade the standard (stock) icons for the added 7 icons on the lockscreen (those stock white ones) , with updated icons! For instance, the icon for "Messenger" (from Facebook) app is not present in the stock white icons list and I have to use the "Hangouts" (Google) icon for it. You might consider to add (update the stock white integrated list icons) with more relevant icons for representative world wide known applications (like "Messenger" and so on).
4. Add the posibility to move down this 7 standard/stock white icons row on the lockscreen window, anywhere we want on the screen, between hour/date and unlock key icon from the bottom. In this way we can organize the lockscreen visual appearence as we please.
5. Add a function to add a PIN code for locking the screen directly from GravitBox (maybe a home screen shortcut for this function too) and not to use android stock security settings for that.
Thank you for your time and I hope you will add these functions/settings soon!
Have a wonderful life!

Categories

Resources