[Kustom][Official] Kustom Komponents - Android Themes

Kustom Live Wallpaper (KLWP) is the most powerful HD Wallpaper creator ever! KWGT is Widget creator counterpart. Use their awesome WYSIWYG (What You See Is What You Get) editor to create you own design and display any data you need, at once, and with wonderful animations too (KLWP only)! If you need more info or have questions please use these thread:
KLWP: http://forum.xda-developers.com/android/apps-games/app-kustom-live-wallpaper-t2916666
KWGT: http://forum.xda-developers.com/android/apps-games/app-kwgt-kustom-widget-maker-android-4-4-t3225173
Please use this thread to share Kustom Komponents WIPs, Kustom Komponent Screens or links to free Kustom Komponents (komp.zip files)
Komponents are basically presets inside a preset or reusable items, so a way in Kustom to create your own redistributable object. So, for example, let's say you want to create a clock but hide the complexity to the user and enable him to just set the color and the font in use, well, Komponents will do exactly that!
Material Clock Komponent sample: https://www.youtube.com/watch?v=RbvJwPQeTNc
Signal Bar Komponent tutorial: http://kustom.uservoice.com/knowledgebase/articles/434600
Quick reference, how to create a komponent
Open a preset, press "+" on top right to add a new module
Select Komponent -> New Skin
Create your Komponent possibly using "globals" (for globals check http://kustom.uservoice.com/knowledgebase/articles/426738-how-to-use-globals)
Export the Komponent pressing the "export" icon on top bar
Go in your SD card under "Kustom/Komponents"
Share the file "komp.zip" as it is
How to use a Komponent
Copy the "komp.zip" file as it is in the SD card under "Kustom/Komponents"
Open a preset, press "+" on top right to add a new module
Select Komponent -> SD Card and browse for the desired Komponent
Weather Komponents
Since weather komponents are quite a common need i have attached an example one to start with so you can create a new one very very quickly. There are 2 ways to do that:
From PC:
Open the attached komp.zip file
Replace all the images in the "Bitmaps" folders keeping the same names
Save the Zip
Done!! If you want also to change title / author either edit the "preset.json" file in the zip or import export as instructions below
From the device:
Add the Komponent from your SD card
Go inside the Komponent and Inside the "Bitmap Group" with the Advanced Editor
Pick a new image for every state listed (so enter the image, press "pick image" and choose the corresponding image)
Export with your details / name / description
Done!

Welcome everyone! Show us what you've made!

Baseline Komponent for the creation of Weather Iconsets
This komponent should be available to all of you in the next update, but if you want it now have at it in the link below.
So this is a fairly straight forward iconset using the well know Climacons glyph set.
There are several reasons I built and released this as an unlocked, free, Komponent.
1st. You can use this as a base to create your own LOCKED/Paid Komponent APKs. You still have to do a bit of work, but all of the code base is already in place for making the right icon show.
2nd. The globals here give you some ideas on what you should be including with your iconset Komponents. Just having a font is OK, but having other stuff like background shapes is better.
3. This is FAR easier to handle in terms of creating weather layouts. You no longer need to go into the code and change wi(icon) to wf(icon, #) for every single icon you have in your forecast list.
Simply add the Komponent, and choose from the DAY dropdown list which you want, Current or Forecast#, the code takes care of the rest.
List of Globals
*Day* (list) - Choose current or forecast day number
*Iconset* (font) Change the icons the Komponent uses easily
*Icon* (color) - Changes the color of the weather icon
*IconSize* (number) Change the size of the weather icon relative to BG
*Outline* (toggle) Change icon to an outline
*Stroke* (number) Change the width of the outline.
*BGStyle* (list) Change background shape (off, square, Circle, Exagon)
*BG* (color) Change the color of the backgroud shape
*Corners* (number) adjust the corner roundness on the BG shape.
Please remember that if you change the font used, you do HAVE TO go into the "Weather Icon" text layer and change the formula to reflect with characters your icons are assigned to.

Saved for a How-To on editing the code for your own font.
Coming soon.

ritalin said:
This komponent should be available to all of you in the next update, but if you want it now have at it in the link below.
Please remember that if you change the font used, you do HAVE TO go into the "Weather Icon" text layer and change the formula to reflect with characters your icons are assigned to.
Click to expand...
Click to collapse
Very basic question I know, but how do I install this? I can't find which folder to place it in...

StrangerWeather said:
Very basic question I know, but how do I install this? I can't find which folder to place it in...
Click to expand...
Click to collapse
Please check post on top, just copy it in the SD card under "Kustom/komponents" (the directory should already be there), then you can add it in the editor as you add a shape or text, just select Komponent -> SD card and browse for this. Since that Komponent is unlocked you will start in simple mode (you will see the tunable options only) but if you want to edit the komponent you can just "unlock" it and see the internals.

frankmonza said:
Please check post on top, just copy it in the SD card under "Kustom/komponents" (the directory should already be there), then you can add it in the editor as you add a shape or text, just select Komponent -> SD card and browse for this. Since that Komponent is unlocked you will start in simple mode (you will see the tunable options only) but if you want to edit the komponent you can just "unlock" it and see the internals.
Click to expand...
Click to collapse
Thanks but precisely the problem is that I don't see a folder called Komponents. I have bitmaps, wallpapers and fonts. That's it.☺
Edit: OK, never mind, I just created it...

StrangerWeather said:
Thanks but precisely the problem is that I don't see a folder called Komponents. I have bitmaps, wallpapers and fonts. That's it.☺
Click to expand...
Click to collapse
Ooops! The "komponents" folder is not created automatically. I have fixed this on next version, you will have to create it manually this time or just try adding a komponent, select SD card, it will show an empty list but create the folder. Thanks for reporting!!

Changing weather images
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download Komponent: https://www.dropbox.com/s/g45gl7ac9aex82y/weather_images.komp.zip?dl=0

Haven't been on Xda as much lately but glad you started this Frank!
Thx!

New Premium Weather Komponent
Soft Elements
https://play.google.com/store/apps/details?id=org.qlagdesigns.softelements
This is the first of many weather iconset komponents, I will be releasing.
This Komponent takes the "Kitchen Sink" approach to its design. Thats to say that there are a large number of GLOBALS, to allow you to take my icon design and make it your own. All in all there are 30 globals for customization. Allowing you to change everything from the size of the icon, its color, its design, to the shape, color and other special characteristics of background shapes.
*LIST OF GLOBALS:*
Code:
[B]*ICON GLOBALS*[/B]
1. Day
2. Icon Color
3. Icon Rendering Mode
4. Icon Size
5. Outline (Fill, Outline, Combined
6. Stroke Width
7. Stoke Color
8. Stroke Rendering Mode
[B]*BACKGROUND SHAPE GLOBALS*[/B]
1. Shape Style (NONE, Square, Circle, Exagon)
2. Corner rounding
3. Background Color
4. Background Gradient Type
5. Gradient color
6. Gradient Width
7. Gradient Offset
8. Gradient Center X
9. Gradient Center Y
10. Shadow On/Off
11. Shadow Blur
12. Shadow Direction
13. Shadow Distance
14. Shadow Color
[B]*BACKGROUND SHAPE BORDER GLOBALS*[/B]
1. Border On/Off
2. Stroke Width
3. Stroke Color
4. Stroke Gradient Type
5. Stroke Gradient Color
6. Stroke Gradient Width
7. Stroke Gradient Offset
8. Stroke Gradient Center X
9. Stroke Gradient Center Y

Media App Iconset.
*Media Icon Komponent is live in the playstore*
https://play.google.com/store/apps/details?id=org.qlagdesigns.mediaapps
*Since Im offering this up for free, do me a favor and rate the app.*
This Komponent allows you to display an icon of the currently selected Music source.
There are a total of 40 different media apps that are supported by this iconset.
Additionally there are two other icons to handle apps that do not have their own icon.
1- A generic media icon, that appears only when none of the package name checks in the string are true.
2- A special icon that only displays if Media Utilities renders a null output for current package name. This icon is useful to relay the fact that a source needs to be choose.
This Komponent is UNLOCKED you can do with it as you like, so long as your follow two conditions.
1. You may NOT repackage this as your own Komponent and attempt to sell it.
2. If you use this in your own project and decide to sell said project, please provide attribution.
*IMPORTANT INFO*
This Komponents code uses Media Utilities to provide the package name of the current app in use. When Kustom builds this feature directly into the app, I will update this Komponent to reflect the new variables.
The Playstore version of Media Utilities is no longer being updated and does not seem to function with this Komponent. You need the latest build meant for KitKat, v153. You will need to side load this apk. The files can be found on the Media Utilities Beta Community page. https://plus.google.com/communities/103994832080931061321

KSymbolSet for Kustom
This is a Set of Symbols and Signals as Komponents made for the app 'Kustom Live Wallpaper'.
The Sets starts with 4 Symbols/Signals and will be continously extended.
Alarm/Battery/Cell-Wifi Signals/MusicStatus
Possible Settings:
WMAlarmSymbol:
MainClr: Color for the Symbol when Alarm is active
OffColor: Color for the Symbol when Alarm is off.
WMCellSignal:
MainClr: Color for the Symbol
OffColor: Color for the Symbol when Mobile Network is off.
WMWifiSignal:
MainClr: Color for the Symbol
OffColor: Color for the Symbol when Wifi is off.
WMBatterySymbol:
MainClr: Color of Symbol
WarnClr: Color of Symbol when WarnPerc reached
FullClr: Color of Symbol when FullPerc reached
FlashClr:Color of the Flash when charging
WarnPerc: Percentage when you will be warned.
FullPerc: Percentage when Battery is full
FullType: Type of Sysmbol ON Filled Symbol, OFF stroked Symbol.
WMMusicStatus
playclr: Color for PlayButton
pauseclr: Color for pauseButton
You need Media-Utilities:

Ultra configurable National Geographic picture of the day Komponent by Carla Jacobs.
How to use?
Copy the Komponent in the sdcard under "kustom/komponents" (folder should be already there) or import it from the app (pressing "+" to add a Komponent and then the "+" on bottom left and click "import" to select it from your phone memory)
Create a preset or start from a builtin one
Press "+" on top right to add a new item
Select the Komponent
Configure parameters as you like, scale, reposition and so on. Loading the images might take some time (so save it and go to your home to see it in action)

@frankmonza question. Why can't I export the bitmap weather Komponents? Scalable works fine.

rkucheran said:
@frankmonza question. Why can't I export the bitmap weather Komponents? Scalable works fine.
Click to expand...
Click to collapse
You should be able to export both, what's not working?

frankmonza said:
You should be able to export both, what's not working?
Click to expand...
Click to collapse
The images show "not set" after export.

rkucheran said:
The images show "not set" after export.
Click to expand...
Click to collapse
Please contact me via hangout on G+ or send me an email, shouldn't happen

frankmonza said:
Please contact me via hangout on G+ or send me an email, shouldn't happen
Click to expand...
Click to collapse
Cleared cache and data and fresh install. So far seems to be OK. Thanks for your reply.
Edit - Spoke too soon. Not working again.

Hi Frank! First I want to thank you for this masterpiece, one of the best apps I've used on android. I just have one question. Is changing weather icons available only in paid version?
Sent from my Nexus 4 using XDA Free mobile app

Related

MIUI Theme How To 1.7.8

=============== Beginner's introduction to must-see: theme making tutorials, online help documentation ========================
Update to the MIUI 1.6. version 3
MIUI continually updated since after a few months, we appreciate the people in the area of UI preferences vary. The other hand, limited to human resource development group of tension, MIUI not do perfect every aspect of the UI in a short time. Therefore, in accordance with the concept of MIUI when you initially set up, let everybody participate in better play ROM, we decided to launch the real topic of custom functionality. Our ultimate goal is to have small white and up can play out their wonderful! Next, I will play easy-to-digest to introduce custom themes, see we can play to Jiji.
Level 1: what is the MIUI custom theme
First, the UI is made up of many parts of our phone, lock screen, the notification bar, desktop, wallpaper, icons, and so on. If we put the phone to a House, imagine such parts can House of doors, Windows, flooring, chandeliers, seats, etc. Then we can think the Android system native is a stock room, MIUI a Lite is on top of this, custom themes are your own to do the decoration of the House.
MIUI provides custom functionality, in fact, the equivalent of an engineering team help you, you can use from many decorating scheme (theme), select your favorite effect, and finally to the engineering team to implement. Decoration options can vary, to whole House renovated, small enough only for a lamp. MIUI now comes with two themes package, people can also design your own package, you can borrow up to people to share out the design.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Level 3: manage theme pack
At present, in order to save ROM built-in storage space, theme packages on the storage card. So when the phone is not a storage card or USB flash drive mode, is unable to match the new theme.
View the theme package
In the list, we can directly see the theme package name, author, date, and the thumbnails. Click on a topic, sliding around in the pop-up interface, you can see the theme pack more effects preview. With this information, we can effect after the initial judge added that the theme package.
Added new theme package
There are two ways you can optional package is added to the new topic list.
Method 1: download, or copy the theme package anywhere on your phone from computer, and then enter the subject interface, click on the menu (menu), select "import from SD card theme package", a popup file browsing interface found in the topic of the package and select.
Method 2: theme packs directly to the/sdcard/MIUI/theme directory, by method 1 Add theme packs last will be moved to that directory.
Delete the theme package
Similar to the add theme packages, the same method to remove the theme pack is simple and advanced.
Method 1: enter the subject interface, click on the topics you want to delete a package, enter the detail page, point the delete button.
Method 2: use the file browser, to the/sdcard/MIUI/theme directory, delete the theme package files directly.
Note: the theme comes with the system package does not support delete!
Level 4: making a simple theme package
(The content has been updated to MIUI 1.7.8 above)
First theme package is in fact a zip package file, named by MTZ, as when suffix, which contains a description of the topic, preview pictures and various resources, and is organized according to a certain directory structure,
http://dl.dropbox.com/u/7822804/MIUI%20Theme%20Tutorial/Round_Icons.mtz
New theme pack format
As MIUI theme to replace the resource more and more, theme pack contains hundreds of resource files are also increasingly common; application in order to speed up the theme of speed, optimize the user experience theme management program from 1.7. version 8 theme packages to support new formats, at the same time compatible with the old format theme pack (tentative compatible one month time).
Theme packs new format conventions are as follows:
Themes under the package root directory, allowing only the files or to wallpaper, and fonts, and boots, and ringtones, and preview names subdirectory exists
For example:
In the old format theme pack, the icons are placed in the icons directory, now topic icons in the package directory is not allowed, therefore, simply enter the icons directory, all resources will be packaged into a compressed file and rename the icons
For your convenience packaging, annex provides automatic Packer named MIUIThemeCompress.jar, run this program requires Java runtime environment; in Windows, double-click run directly or right keys to select => "open with" => "Java (TM) platform SE Binary" opens under Linux, by command line "java-jar MIUIThemeCompress.jar" to run. Warmly welcome both metres, making ease and better packaging tools, to facilitate theme making.
On the Java runtime environment installed, please come here .
Discussion on the new format, please come here .
MIUI File
Description file
Describes a description.XML file named, reference to fill in the following format. If the title is empty, the theme will interface with the theme pack file name instead. If the version is null, theme file modification time instead of the interface will use the theme package. Green for content can be replaced.
<?xml version="1.0" encoding="UTF-8"?>
<MIUI-Theme>
<title> round icon </title>
<designer> M IUI </designer>
<author> MIUI </author>
<version> 1.0 </version>
<uiVersion> 1 </uiVersion>
</MIUI-Theme>
UiVersion usage details: here
Preview effect diagram
Previews are placed in the theme pack Preview directory Xia, in Preview supports up to 10 preview map. Package effect in order to facilitate real-world embodiment topic, theme for all was cited by the official package, we have the uniform preview and, in order to fully express the theme pack contains, require producers to provide a preview image as the cover of the theme; the cover theme thumbnails displayed in the list manager program.
Preview theme Pack module naming convention is as follows:
Custom cover page preview for preview_cover_0.jpg, only one;
Style preview system for preview_0.jpg,preview_1.jpg, ... Start and so on;
Desktop preview of preview_launcher_0.jpg, preview_launcher_1.jpg, ... Start and so on;
SMS preview is in the style of preview_mms_0.jpg,preview_mms_1.jpg, ... Start and so on;
Style preview icons for preview_icons_0.jpg,preview_icons_1.jpg, ... Start and so on;
Power on the preview of the animation to preview_animation_0.jpg,preview_icons_1.jpg, ... Start and so on;
Preview of the font style for preview_fonts_0.jpg,preview_fonts_1.jpg, ... Start and so on;
Lock screen preview of a style as preview_lockscreen_0.jpg, preview_lockscreen_1.jpg, ... Start and so on;
Preview the notification bar for preview_statusbar_0.jpg, preview_statusbar_1.jpg, ... Start and so on;
Replace wallpaper (including desktop wallpaper and lock screen wallpaper)
Lock screen wallpaper and desktop wallpapers in the theme pack wallpaper directory under:
Default_wallpaper.jpg: desktop wallpapers
Default_lock_wallpaper.jpg: lock screen wallpaper
Default_lock_wallpaper_800.jpg: height of 800-pixel lock screen wallpaper
Note: the package contains default_lock_wallpaper.jpg and default_lock_wallpaper_800.jpg only in topics automatically when the screen is 800 pixels in height.
Replace the program icon (including non-systematic programs of icon)
All for replacing native icon resources are placed in the theme pack icons package , you can use the system's own mellow icon theme package as a template, file name stays the same premise, replace the corresponding picture content. The picture of the desktop folder resources can also be enclosed in this package.
How to name an icon File
After the new program, look of icons to the desktop to view the program. And then use the file browser with image preview function to the/data/system/customized_icons_1 directory to find the icon, its file name is the answer we are looking for.
Replace the system font
Ready font file in the theme package fonts directory Xia, and name as follows. Use theme changing fonts, OTA upgrades will not be affected. If you want to use a font file and replace the English, they named Arial.ttf.
Default font: DroidSans.ttf
English-language digital: Arial.ttf
Chinese fonts: DroidSansFallback.ttf
Replace power effects
Ready to power the animation or turn on the music on the theme package boots directory Xia, and name as follows.
Power on the animation: bootanimation.zip
Power on the music: bootaudio.MP3
Replace ringtones
Ringtones on the theme package ready ringtones directory Xia, and name as follows.
Ringing tone: ringtone.MP3
Notification ringtones: notification.MP3
Alarm clock rings: alarm.MP3
Replace the power icon
Current power status bar icon is determined by three files in the theme package, like making principle of three files, there are no dependencies, you can replace independent
Graphic icons: com.Android.systemui/RES/raw/stat_sys_battery.PNG
Digital icon: com.Android.systemui/RES/raw/stat_sys_battery_number.PNG
Charging icon: com.Android.systemui/RES/raw/stat_sys_battery_charge.PNG
Contents of these three files are made up of large rectangular n*m a small icon, each small icon size is 38x38. These small icons from top to bottom, from left to right from the 1% of electricity or charge every frame of the animation.
For example, if the contents of the file 2*5 is a small icon, the layout is as follows,
ABCDE
FGHIJ
If used as a graphic or digital icons, each icon indicates that the power to:
A: 1%~10%
B: 11%~20%
C: 21%~30%
D: 31%~40%
E: 41%~50%
F: 51%~60%
G: 61%~70%
H: 71%~80%
I: 81%~90%
[B][SIZE=4]Level 5: making advan...net/greatstar/archive/2010/10/12/5936177.aspx
[*]in accordance with the first step to find the tutorial, make 9-patch icon
[*]compile 9-patch pictures. Compile method a little bit biased technology, we can try this tool xUltimate Draw9Patch Compiler ( http://www.droidforums.net/forum ... EASE-xultimate.html ).Usage is quite simple, put your pictures in a directory (you can directly use it's own example directory), and then run the tool, it generates compiled a picture, the file name will not change, but you will see the black edges of your picture is removed (has actually saved to a special data area within the PNG).
[*]compiled your pictures into topics as normal picture pack.
[/LIST]
More detailed tutorials, please see http://miui-dev.com/forums/showthread.php?243-GUIDE-Theming-MIUI-general-tutorials-of-tweaks-I-ve-made
Just in Case
Thanks a lot! now i might just have to try using your instructions.
Actually its from MIUI.com. Found and translated and posted it here to make it easier to find.
Thanks a lot
Hi man, I have some questions:
some of my theme are not applied. I use the .jar you provided but everything is not themed.
For instance, inside framework-res.
I had a framework-res folder with res/drawable-hdpi folder and inside it, btn_check_on_pressed.png.
But this png is never applied ... do you know why?
Thanks
mousse04 said:
Hi man, I have some questions:
some of my theme are not applied. I use the .jar you provided but everything is not themed.
For instance, inside framework-res.
I had a framework-res folder with res/drawable-hdpi folder and inside it, btn_check_on_pressed.png.
But this png is never applied ... do you know why?
Thanks
Click to expand...
Click to collapse
Not sure, I would have to check on Monday if the name hasn't changed. I haven't had any issues yet.
Sent from my ADR6300 using Tapatalk
I'm a Nexus S and french user. If I install the english version of the ROM, my theme is working fine...but if I take the french version ... it doesn't work ...
Any ideas?
edit: the problem seems to come from a bad translation inside the french pack .
Sorry
I have a question, I'm trying to modify the font color of a input box, I know the xml file that modifies this is in framework-res but I'm having a heck of a time finding out which actual line it is.
Anyone have a idea? It's the input box like when you type a sms message and you are typing the text what it shows either in the subject or the "to" box

Launcher 7 Tile Pack from Mortem Tuam

So I have posted my homescreen in this forum and google plus and some people have been asking for the tiles (icons) I am using. So I made a 7zip file and attached it here with the tiles (icons) I am using. These were all made by me....with stock photos of course with some minor (if any) tweaks.
These tiles are designed for use with Launcher 7 Pro. If I make more I will post them in this thread.
Enjoy!
preview image tiles are in the .7z file below
and here's pack #2
preview image tiles are in the .7z below
pack #3 now available
preview image tiles are in the .7z below
pack #4 now available
preview image tiles are in the .7z below
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Tutorial time: by bryman27
1. Download Launcher 7 from the market. Free or Donate.
2. Download one or more of the packs attached in the OP to your computer. Open the downloaded file(s) with 7-zip or any other utility that can open 7z files.
Copy the images inside the 7z file(s) to your phone with whatever method you prefer. Mount the sdcard back to your phone if it was mounted to your computer.
3. Open Launcher 7 by pressing the home button then choosing Launcher 7.
If that doesn't work, go to settings -> applications -> manage applications -> [your current launcher] -> clear defaults, then try again.
How to add a themed tile:
Pin the tile you want by tapping the arrow in the top right and long-pressing the app you want to pin and choosing "Pin to home screen".
Tap "Title" and delete everything in it.
Then tap "Tile size" and choose the size of your icon (the sizes are in the file names).
Then tap "Icon" and choose "Custom icon".
Then tap "Custom icon options". Set "Bitmap type" to "Bitmap from SD card".
Then tap "Select image from SD card" and find the image you want to use (if you are using the gallery to pick it and you don't see it, you might have to use an app like Rescan Media or just reboot).
Then press your device's back button.
Then tap "Extra options" and choose "Full-tile bitmap (1x1 only)" if you chose 1x1 tile for the tile size. This makes the image fill the entire tile area, but makes you lose missed call counts and unread message counts. (You don't need to choose this option, but it makes it look better. You can change it later if you need the counters.)
Then tap "Click to add tile".
How to choose a custom icon for a tile that is already pinned:
Long-press the tile you want to edit.
Tap the pencil in the top left of the tile.
Delete everything in the "Title" field.
Choose Custom icon in the "Icon" field.
Tap "Select image from SD card" and pick your desired icon. (if you are using the gallery to pick it and you don't see it, you might have to use an app like Rescan Media or just reboot)
Tap "Tile options" and choose "Full-tile bitmap (1x1 only)" if you chose 1x1 tile for the tile size. This makes the image fill the entire tile area, but makes you lose missed call counts and unread message counts. (You don't need to choose this option, but it makes it look better. You can change it later if you need the counters.)
Tap "Modify tile".
I think that's pretty noob proof... but we'll see
1tontomato said:
Just started to play with this today. Out of sheer laziness, and not wanting to work from a computer, I downloaded the free version of androzip from the market. It works just fine for unpacking 7zip files right on your phone. It might be helpful info to include in the op. I like the idea of working without a computer and I'll bet I'm not the only one.
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
awesome. u r the man
pack #2 is available in the OP
omg these look amazing will use in future designs =]
glad you like them
if you have any requests please let me know in this format
1x1 - app name
2x1 - app name
1x2 - app name
I was thinking about asking you for your images. I'll have to check this out sometime. Great job as always.
thanks bryman
I am very fond of my video one....classic Audrey Hepburn
and the baby one for the alarm is another favorite
as well as David Gilmour on Uber Music
let me know if you need something in one of those three sizes.
oh,very special
and this is what my setup looks like with my custom tiles
ROM - Cyanogenmod 7
Lockscreen - Widget Locker
Clock widget - Clockr Evolution
Slider - CoWon d3 lock
Launcher - Launcher 7 Pro
Font Changer - WP7 Segoe light
Simi Clock - weather and clock widget on homescreen
Mortem Tuam - Custom WP7 Tiles and lockscreen wallpaper
DDDDDD I love that set up it looks amazing
Wow! Simply Amazing.
are these tiles compatible with desktop visualizer that way it dont have to switch all my stuff to launcher7pro
bethanensinger said:
are these tiles compatible with desktop visualizer that way it dont have to switch all my stuff to launcher7pro
Click to expand...
Click to collapse
I don't know. I have never used desktop visualizer. These were made specifically for L7Pro.
If you test them out on desktop visualizer let me know if they work or not.
Hi these are great. I'm confused about the download though. How do I open or unzip the pack?
Sent from my LG-VM670 using XDA App
mjs2011 said:
Hi these are great. I'm confused about the download though. How do I open or unzip the pack?
Sent from my LG-VM670 using XDA App
Click to expand...
Click to collapse
it's a .7z file not a regular .zip file
you need to install 7zip and use that.
http://www.7-zip.org/
it's free and what alot of xda devs use instead of winzip
glad you like the tiles! Enjoy!
Mortem Tuam said:
it's a .7z file not a regular .zip file
you need to install 7zip and use that.
http://www.7-zip.org/
it's free and what alot of xda devs use instead of winzip
glad you like the tiles! Enjoy!
Click to expand...
Click to collapse
I should also probably mention you should unzip them to your desktop then plug your phone in via USB, mount the phone and create a WP7Icon folder on your SD card. Move the unzipped files to that folder and then the files should show up in your gallery in the folder you created.
So I am getting some requests on how I did my setup for Launcher 7.
It's really not hard at all. Just time consuming. And it's hard to type up what I did so I think if I have time this week I will try and make a tut video on how I did my setup.
Bear with me as I have never done a tut video so it will be new to me. LOL
I didn't see a pandora one so I made my own. I made a 2x1, but then decided I'd rather use a 1x1 so here's both. Original image is here
bryman27 said:
I didn't see a pandora one so I made my own. I made a 2x1, but then decided I'd rather use a 1x1 so here's both. Original image is here
Click to expand...
Click to collapse
nice
I will have another pack coming soon
Check it out!
I submitted my WP7 homescreen to Lifehacker's homescreen showcase....hopefully they do a piece on it
http://lifehacker.com/homescreenshowcase/forum?page=1&priority=0

iOS 7 Theme For All Android Devices Running JB 4.1.2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok guys first to start all the steps i just i want to thanks '' shmogt '' member of the mycolorscreen to make this fantastic theme
Ok so i'm here to provide his theme on xda and to share it on our comunity.
Onother thing to be menthioned is that to use this theme on STOCK JB ROMS DEODEXED or to make it on Cyanogenmod 10/10.1
Part 1: Before to begin you will need to download those apps:
- UCCW: http://bit.ly/10BIOnI
- Any.do: http://bit.ly/ZT9Ch0
- Simple Calendar Widget: http://bit.ly/148vTa6
- Nova Launcher (Apex and ssLauncher can also be used): http://bit.ly/WlA6U1
- Miui 5 Icon Pack: http://bit.ly/14qo8wk
- MPLW : http://bit.ly/10cGiCe
The files that you must copy to your phone:
- Resources: https://www.dropbox.com/sh/virpynylh8ilyec/XCluon34w3
- Swipe to Unlock UCCW skin & Nexus 4 Weather page: http://bit.ly/11Dy9D9
Part 2: Nova Settings:
Desktop:
Desktop Grid: 12x12 (or whatever suits you best)
Width Margin: None
Height Margin: None
Disable: Shadows, Label Icons
Homesceens: 3
Wallpaper Scrolling: On
Infinite Scroll: Enabled
Advanced: Enable: Widget Overlap
Dock:
Enable Dock: Disabled
Look and Feel:
Show notification bar: Disabled
Gestures and Buttons:
Apply any if needed.
Part 3: Wallpaper Setup
1. Open MPLW - Add 3 screens
2. Open Screen (1, 2 & 3) settings - Change to wallpaper that you have downloaded
3. Transition Type - None
4. Disable Reflections.
5. Go back - Set Wallpaper
Part 4: UCCW
To add the skins:
- Hold down on the homescreen - Widget - UCCW - any size.
- In the main menu after tapping the widget, select "Uzip", now just find where you pasted the Black Bar.uzip and select it.
- After it appears on your homesreen, resize it to the way it looks in the video.
- You can now edit the hotspots (allows you to open apps when tapping a certain area) in this skin, by tapping the skin to open it.
- Then select 'Hotspots' in 'Select Object', followed by editing your needed hotspots.
- If you would like to know more about hotspots, see the link below.
- Finally tap any UCCW skin, Menu - Hotspots Mode - On
Remember: Turn Hotspots mode ON to prevent opening the editor each time.
***If you get a white box, remove it, then re add the skin from the UCCW gallery, then it should work***
Temperature not working? UCCW Editor - Menu - Settings - Weather Provider - Change... Should work.
Part 6: Shortcut Setup
1. Hold down on the homescreen - Apps - Select Multiple.
2. Select the apps you require - Add
3. Drag the apps to icons as shown.
4. Hold down on each icon - edit - tap the image - find the blank.png and select it.
5. Select the tick and you are good to go
Part 7: WidgetLocker Setup
First remove any icons or widgets, then:
1. Tap the white icon at the top to open up the settings.
2. Look & Feel - Select Alternative Wallpaper.
3. 'Select Wallpaper' - find the black icons you copied onto your phone.
4. As long as it doesn't show the icon you will have a black wallpaper.
5. Layout - Drag the Anchor all the way to the bottom & Deselect Auto grid size.
6. Change the grid size to 12x12
7. Hide Notification Bar.
UCCW:
Add skins as shown in the previous UCCW setup.
Desktop Visualiser:
1. Add a 2x2.
2. Action - Camera, Icon - Select the Camera icon provided.
3, Clear label - Done - Resize widget as shown in video.
Custom Slider:
1. Hold down on the lock screen - Custom Slider
2. Get Themes - Download the Invisible Table & Install it.
3. Swipe the Sound Icon to the right - Disable Action
4. Swipe to slider to the right - Disable the action.
5. Swipe to the Lock to the left - Icon Tab - Select the Arrow Icon,
6. Done
To see ho to apply better all these stuff you can watch this tutorial video:
http://www.youtube.com/watch?v=_RdQyqNlB2I
Screenshots
Thanks Guys i know it was a bit annoying but how you can see we've just maket an homost exact copy of the iOS 7 lockscreen and home screen
Theme is online !!!
Theme is online so try it!!!
nilac8991 said:
Theme is online so try it!!!
Click to expand...
Click to collapse
yackovsky said:
Click to expand...
Click to collapse
hahahahaha you owned
nilac8991 said:
Ok guys first to start all the steps i just i want to thanks '' shmogt '' member of the mycolorscreen to make this fantastic theme
Ok so i'm here to provide his theme on xda and to share it on our comunity.
Onother thing to be menthioned is that to use this theme on STOCK JB ROMS DEODEXED or to make it on Cyanogenmod 10/10.1
Part 1: Before to begin you will need to download those apps:
- UCCW: http://bit.ly/10BIOnI
- Any.do: http://bit.ly/ZT9Ch0
- Simple Calendar Widget: http://bit.ly/148vTa6
- Nova Launcher (Apex and ssLauncher can also be used): http://bit.ly/WlA6U1
- Miui 5 Icon Pack: http://bit.ly/14qo8wk
- MPLW : http://bit.ly/10cGiCe
The files that you must copy to your phone:
- Resources: https://www.dropbox.com/sh/virpynylh8ilyec/XCluon34w3
- Swipe to Unlock UCCW skin & Nexus 4 Weather page: http://bit.ly/11Dy9D9
Part 2: Nova Settings:
Desktop:
Desktop Grid: 12x12 (or whatever suits you best)
Width Margin: None
Height Margin: None
Disable: Shadows, Label Icons
Homesceens: 3
Wallpaper Scrolling: On
Infinite Scroll: Enabled
Advanced: Enable: Widget Overlap
Dock:
Enable Dock: Disabled
Look and Feel:
Show notification bar: Disabled
Gestures and Buttons:
Apply any if needed.
Part 3: Wallpaper Setup
1. Open MPLW - Add 3 screens
2. Open Screen (1, 2 & 3) settings - Change to wallpaper that you have downloaded
3. Transition Type - None
4. Disable Reflections.
5. Go back - Set Wallpaper
Part 4: UCCW
To add the skins:
- Hold down on the homescreen - Widget - UCCW - any size.
- In the main menu after tapping the widget, select "Uzip", now just find where you pasted the Black Bar.uzip and select it.
- After it appears on your homesreen, resize it to the way it looks in the video.
- You can now edit the hotspots (allows you to open apps when tapping a certain area) in this skin, by tapping the skin to open it.
- Then select 'Hotspots' in 'Select Object', followed by editing your needed hotspots.
- If you would like to know more about hotspots, see the link below.
- Finally tap any UCCW skin, Menu - Hotspots Mode - On
Remember: Turn Hotspots mode ON to prevent opening the editor each time.
***If you get a white box, remove it, then re add the skin from the UCCW gallery, then it should work***
Temperature not working? UCCW Editor - Menu - Settings - Weather Provider - Change... Should work.
Part 6: Shortcut Setup
1. Hold down on the homescreen - Apps - Select Multiple.
2. Select the apps you require - Add
3. Drag the apps to icons as shown.
4. Hold down on each icon - edit - tap the image - find the blank.png and select it.
5. Select the tick and you are good to go
Part 7: WidgetLocker Setup
First remove any icons or widgets, then:
1. Tap the white icon at the top to open up the settings.
2. Look & Feel - Select Alternative Wallpaper.
3. 'Select Wallpaper' - find the black icons you copied onto your phone.
4. As long as it doesn't show the icon you will have a black wallpaper.
5. Layout - Drag the Anchor all the way to the bottom & Deselect Auto grid size.
6. Change the grid size to 12x12
7. Hide Notification Bar.
UCCW:
Add skins as shown in the previous UCCW setup.
Desktop Visualiser:
1. Add a 2x2.
2. Action - Camera, Icon - Select the Camera icon provided.
3, Clear label - Done - Resize widget as shown in video.
Custom Slider:
1. Hold down on the lock screen - Custom Slider
2. Get Themes - Download the Invisible Table & Install it.
3. Swipe the Sound Icon to the right - Disable Action
4. Swipe to slider to the right - Disable the action.
5. Swipe to the Lock to the left - Icon Tab - Select the Arrow Icon,
6. Done
To see ho to apply better all these stuff you can watch this tutorial video:
http://www.youtube.com/watch?v=_RdQyqNlB2I
Screenshots
Thanks Guys i know it was a bit annoying but how you can see we've just maket an homost exact copy of the iOS 7 lockscreen and home screen
Click to expand...
Click to collapse
Thx bro!
Sent from my HTC One X using xda app-developers app
Please join the war to get the IOS 6 look back!
https://www.facebook.com/groups/1432711640278305/?bookmark_t=group

[KLWP] [TUTORIAL] Create a Material animated Floating Action Button

This is the first of a set of basic animation tutorials for KLWP. If you do not know what KLWP is main thread is available here.
Final result (full video tutorial at the end, final result KLWP file attached)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 1: create the FAB button that will trigger the animation
Start from an empty preset
Create a global that will be used to trigger the animations (Globals -> Add -> Type Switch), this global will be used to control animations around
Add the Image for the FAB, change its name to better see it in the list
Load an Image that you like, here i am using a generic "plus" button
Set single Touch action to "Global Switch" and pick the global we just defined ("FAB"), so when touching this image that global will be toggled on/off
Go to animations and add a new one, select "ReachOn -> Global Switch" so it will be triggered by the global switch, set speed to 5 to make it faster (5 is 50ms), set type to Rotate and amount to "63" so it will not rotate completely and stop a bit earlier looking like an "X" instead of a "+" (you can test the animation pressing the "play" button on top)
To make it a bit fancier add another animation triggered by the same global, set speed to 5 as above and select "Color Filter Out", this will desaturate the image on click, making it black and white when opened
Your button is done! Save, go back to screen and see it in action. Cool eh?
Step 2: create app button
Add another Image object, change its name to "Facebook" or whatever you want
Add a Switch animation of type Scroll so the Image will move when switch triggers, set speed at 5 as above, and play with "speed" and the "play" button on top right until you reach the desired result, set also the "angle" param if you want to change scroll direction and mode to "overshoot" if you want to bounce when opening
Add another Switch animation of type "Fade In" so the item will fade in when switch changes (and while fades), the item will disappear because its initial state will be invisible, if you click the play button you will see it become visible
Go back to the root and check with the global switch (changing it) if the animation is ok, if its ok change the position of the Facebook button and place it on top of the list so it will go below the FAB (so it will look like it appears from the back)
Done! Save and test it on screen
Step 3: create additional buttons
Copy the facebook button using copy / paste
Change the name and the image (in this case we use Youtube)
Go to animations and change the scroll "speed" parameter to make it go farther, test it with play (you will just see an empty red rect because the item is transparent but it will be enough to tune speed
Save, done!
Video
https://www.youtube.com/watch?v=-UA1kIZcCp4
Nice job Frank. As always.
Sent from my OnePlus One using Tapatalk Pro
Awesome thanks Frank!
Great lil tutorial...thumbs up!
Sent from my LG-D850 using XDA Premium HD app
Great Tutorial.
Could you make a tutorial with animation between wallpapers (screens)?
mimidudu said:
Great Tutorial.
Could you make a tutorial with animation between wallpapers (screens)?
Click to expand...
Click to collapse
Like changing wallpaper when swiping or something different?
frankmonza said:
Like changing wallpaper when swiping or something different?
Click to expand...
Click to collapse
Hi frankmonza,
How to make a horizontal menu to switch the color of the letters, when we move the screen?
Sample Menu:
Files Home Weather - white letters
Screen 1: Home data
Screen 2: Weather data
Screen 3: Calendar events
When the corresponding screen is showed in menu the word corresponding is yellow, the other two whites.
Thanks in advance for your help.
mimidudu said:
Hi frankmonza,
How to make a horizontal menu to switch the color of the letters, when we move the screen?
Click to expand...
Click to collapse
Hi!! And thanks for the details! So, first of all you can find this implemented already in some template on the store like "Matdd for Kustom" from Jeppe.
In general the idea is the following to create the text item (and i will try to create a tutorial on this):
You create a Text object, position it, set font and so on, and set text to one of the menu items
Go to animations and set animation to "fade out"
Copy the text module you created, set color to yellow or what you prefer (the selected color)
Go to animations and replace "fade out" with "fade in"
Done, at this point your text will be white in all the screens and fade to yellow in the center one
Then, in order to create the ones in screen 1/3 do this:
Copy the 2 modules you created above
Change text and position them to the left or right (depending on where it should be)
Go to the animation tab and change the "center" option from "center screen" to "first screen" or "last screen" depending on the item
Done, these items will get selected in their screen
Finally to create the bar below that moves:
Create a rect, yellow, thin, below the center
Go to animation and set animation to "scroll"
Tune "speed" in order to be at the right distance in screen 1 / 3 (scroll in the editor then change speed to match position)
Finally, to make this more portable i would suggest doing this with 6 globals, 1 for background color, 1 for selected color, 1 for text color not selected and 3 for the text in the menu entries, in this way you can then just copy these items from one setup to another and just change the globals.
Hope it helps and i will try to make a video / proper tutorial soon.
I will try.
Thanks.
Can you fix the YouTube link?
AndreAkaNick said:
Can you fix the YouTube link?
Click to expand...
Click to collapse
Fixed sorry
how add touch actions??
frankmonza said:
Hi!! And thanks for the details! So, first of all you can find this implemented already in some template on the store like "Matdd for Kustom" from Jeppe.
In general the idea is the following to create the text item (and i will try to create a tutorial on this):
You create a Text object, position it, set font and so on, and set text to one of the menu items
Go to animations and set animation to "fade out"
Copy the text module you created, set color to yellow or what you prefer (the selected color)
Go to animations and replace "fade out" with "fade in"
Done, at this point your text will be white in all the screens and fade to yellow in the center one
Then, in order to create the ones in screen 1/3 do this:
Copy the 2 modules you created above
Change text and position them to the left or right (depending on where it should be)
Go to the animation tab and change the "center" option from "center screen" to "first screen" or "last screen" depending on the item
Done, these items will get selected in their screen
Finally to create the bar below that moves:
Create a rect, yellow, thin, below the center
Go to animation and set animation to "scroll"
Tune "speed" in order to be at the right distance in screen 1 / 3 (scroll in the editor then change speed to match position)
Finally, to make this more portable i would suggest doing this with 6 globals, 1 for background color, 1 for selected color, 1 for text color not selected and 3 for the text in the menu entries, in this way you can then just copy these items from one setup to another and just change the globals.
Hope it helps and i will try to make a video / proper tutorial soon.
Click to expand...
Click to collapse
This could be a separate tutorial in itself. :good:
Bump.

[GUIDE]Making an SVG graphic for android

Hello guys,
This is a thorough tutorial (with images) on how to make an SVG graphic for use in android themes
SVGs are vector graphics which do not get pixelated upon enlargement and retain their originality and they are a little faster to draw than PNGs
Click to expand...
Click to collapse
Tools Used:
Adobe Illustrator (any version but CS5+ would be great)
Notepad++ (or any other text editor would do)
Online PX to DPI checker (important)
Expertise:
Only some knowledge of Illustrator required to build an SVG out of it
Of course we can always make our own graphics if we know illustrator enough but for the sake of this tutorial, I will not go into that part instead I will use just a normal image from internet since this is not a graphic design tutorial but how to make an svg and format it properly to use in android
STEP 1 - PREPARE FOR INTIALS
First we need to know which graphic are we going to make since we will need its dimensions.
Here I will make a wifi icon which is displayed in dropdown panel, in other words, Quick Settings Panel.
This icon is present in systemUI folder with different modes named as
ic_qs_wifi_0,
ic_qs_wifi_1,
ic_qs_wifi_2,
ic_qs_wifi_3
ic_qs_wifi_4
So in total, we will have 5 icons of Wifi. Since all these icons are same except the bars opacity to detemine strength of signal, we will make only one SVG of it and manipulate its opacity in others to make different modes.
Now, I have this PNG in dimensions of 168x168px in folder drawable-xhdpi and I need to know its DPI for correct display in phone. Here DPI checker becomes handy.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Our illustrator canvas is going to be 84px X 84px.
STEP 2 - VECTORIZE THE IMAGE
Open Illustrator, File > New and use the following settings and click OK
Now we need an image, as I said that I will just use a random image from google, so this is what I have selected, you can also use this one for practicing purpose. (HINT: I usually use keywords like "wifi icon png" in google and select an image which is at least 250x250px in dimension and there are no mixed colors or gradients)
When we have this image saved in my PC, we will just drag it open in illustrator over the same file we just started
Now its time to Image Trace this PNG to get it in vector shape.
This tool is present in WINDOW > IMAGE TRACE in illustrator. Click it to get the dialog if you dont have it already there.
Select the Image, In the Image Trace Dialog, click on "Black and White" Icon to trace it in B&W tones.
You will get something like this
The image has taken the form of vector but isn't editable yet, so we will need to Expand it to get the separate layers. The tool is in OBJECTS > EXPAND
Just press OK in the Expand Dialog
Now we have the separate vector layers for everything in that image, it is grouped in one and usually becomes annoying if you want to select only one layer in that group, it will instead select the whole group so we will just un-group it to root level (this is usually un-group two times). The tool is in OBJECTS > UNGROUP. or else the shortcut is CTRL+SHIFT+G (press two times)
After ungroup, we will have all the layers separated and we will remove the layers we dont need, that is all the white we have there.
First click outside image anywhere to deselect everything and then click on white to select it and press DEL on your keyboard.
We are now left with only black stripes which are our wifi lines. There are 4, one circle and 3 curves.
Sicne we need them all seperate to set the opacity later, so we will not merge these together. (I will come to this part later)
Now select all these 4 layers and scale them down to fit in the white canvas we created with File > New
Now I want my wifi icon to have a circle behind it as well, so we will head to make a circle.
Press L to select Eclipse Tool and draw a circle in the center of the image.
Make sure this new created circle layer lies below all other layers
HINT: You can zoom in the canvas to see better for working. a 500% zoom is good here.
Now I will have to make a Compound Path of this circle to correctly generate its code usable on android.
Select the Circle by clicking on it and then Right Click on your Mouse and select "Make Compound Path"
If you have more than 1 layer, its always a good idea to color them with different colors to later identify their code upon export. because we are gonna need it.
Color All other stripes separately as well. You can color them anything you want because they wont effect our SVG.
We now have a vector of wifi with a circle we are going to use in SVG. head to next step
STEP 3- PREPARE THE SVG
Assuming that until here, we have everything under control, Just head to "File > Save As", and in the save dialog, select SVG, and click on Save once. (Only Once)
Make sure you have the same settings in the next dialod and press button SVG CODE.. to open the code in browser.
In the browser, you will see some nasty code that may seem to you a Ferengi Alliance Code of Business Conduct but dont worry, we dont need to understand a single bit in it but copy only chunks of this code to Notepad++ or the text editor you are using.
I have highlighted those chunks which we need to copy one by one in the same order from top down as they are,
-- BUT FIRST--
Lets build the svg file base structure to copy the chunks to, and we also need some introduction to the code in it.
In notepad++, make a new file and paste the code below in it
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="84.0dip" android:width="84.0dip" android:viewportWidth="84.0" android:viewportHeight="84.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path
android:fillColor=""
android:alpha=""
android:pathData="" />
<path
android:fillColor=""
android:alpha=""
android:pathData="" />
<path
android:fillColor=""
android:alpha=""
android:pathData="" />
<path
android:fillColor=""
android:alpha=""
android:pathData="" />
<path
android:fillColor=""
android:alpha=""
android:pathData="" />
</vector>
In the above code,
we are defining a vector with attributes of height and width of canvas and actual image in it. i-e 84..0dip as we concluded from px to dpi converter.
Next is the Path. We have 5 chunks of Path tag since we had originally 5 layers made in Illustrator.
Each Path tag has its attributes which will tell android how to render this svg.
android:fillColor will be the color of the shape
android:alpha will be transparency of the shape. 1.0 being opaque and 0.0 being completely transparent.
androidathData will be actual data of the shape layer (here in attributed to as PATH) which we created
Please note that these attributes are case sensitive. so if you write pathdata instead of pathData, it will not work.
Now Back to the browser where we have our code. Please see the picture below
In the above picture, I have highlighted the chunks of code we need to copy and paste between pathData attributes.
Do them in order as blue to first and pink to last.
The first highlight is the data of circle
Second is data of Wifi small circle
similarly other 3 path datas are data of 3 curves we had in wifi
After you are finished, your code should look something like this
Note that your path data and number will look completely different than mine because there are too many factors involved, i-e placement of your shapes, size of shapes and shapes themselves etc etc
I have put alpha of first pathData to 1.0 because this is the circle and I want it opaque.
Next I have put alphas of all else to 0.3 because first image is going to be drawn in android when there are no wifi signals or wifi is not connected, so 30% opacity to wifi curves.
Save this image as ic_qs_wifi_0.png
Now look into the picture below
In this, I have put alpha of second path to 1.0. This is when you will be getting only one bar of wifi so one bar will turn white and rest will stay semitransparent.
Save now as ic_qs_wifi_1.png
Similarly keep adding 1.0 alpha to android:alpha and save respectively as ic_qs_wifi_2.pngic_qs_wifi_3pngic_qs_wifi_4png
Put them in your theme folder in com.android.systemui/res/drawable folder (I guess you know this part if you are a themer)
Your image will be drawn in android as
Please feel free to ask me anything about it and I will be more than happy to guide you guys.
Please do not forget to quote me when you ask something as this way I will get notifications on mobile to reply to you quicker.
Thanks.

Categories

Resources