Android 5.0.2 Fixes 2012 Nexus 7! Sony’s Making a Google Glass Competitor? – XDA TV

Android 5.0.2 Lollipop is available for the … more

Early Lollipop Ports for Micromax A116 and A117

It feels like it was only yesterday when Google announced the mysterious Android L.After … more

Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Forecast Widget Skins (create background skins !!)

OP koxx

14th June 2009, 12:42 PM   |  #1  
koxx's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 7
 
1,815 posts
Join Date:Joined: May 2006
Hello,

To explain & share skins for 'Forecast widget', I'll agregate everything here.

First, you need the widget, available on :
http://forum.xda-developers.com/showthread.php?t=511351
or on the market.

I'd like to keep widget free, so, if you want to make donation for my work, no problem you can ! Best way : by paypal here at
Thanks to all donators !!!


Please, if you have a problem with the widget, post it on the original thread, not here.


How to install and select a skin?

You should have donate version to ba abe to use skins. If you have this version, you have 'save & skin' button in configuration panel.
Press and hold a skin, install it, and select it. That's all.

How to create my own a skin ?

You have to create PNG files of 128x128 pixels (or 64x64 but it will be ugly when zoomed) in a new yyy folder (in /sdcard/.org.koxx.forecast_weather/skins/).

Filenames should respect this :
chance_of_rain.png
chance_of_snow.png
chance_of_storm.png
cloudy.png
dust.png
fog.png
haze.png
icy.png
mist.png
mostly_cloudy.png
mostly_sunny.png
partly_cloudy.png
rain.png
sleet.png
smoke.png
snow.png
storm.png
sunny.png
thunderstorm.png

How to change background ?

exactly as skins

How to create night icons ?

you can create night icons !

just add icons with "_night.png" as extension.

example : sunny_night.png / storm_night.png

you can do it on few icons only or all icons. when night time is arrived, night icon is selected if available. If it is not available, day icon is used.

How to create background skin ?

you have to create a 9 patch png file of 25x25
such as this one :

- image corners are applied as it is.
- center lines in x and y are copied to expand image to fill different widgets background.
- pixel at position x12,y12 (x0,y0 is first pixel) is used for color pading at center of expanded image.

IMPORTANT : this is not a true 9patch image. You should not keep 1 pixel border line of 9patch PNG file, just the image center.

for more informations about 9patch images : http://developer.android.com/intl/fr...raw9patch.html




Please, if you create a new skin: post it here with a screenshot and give icons source !

If you are agree, I'll integrate your skin to next software version skin list & downloader.
Last edited by koxx; 18th July 2009 at 05:56 PM.
14th June 2009, 01:28 PM   |  #2  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2009
More
My contribution. Icons are from Tenius Icon pack.

Brabinder
Attached Files
File Type: zip Skin_widget_tenius.zip - [Click for QR Code] (223.1 KB, 1098 views)
14th June 2009, 01:49 PM   |  #3  
koxx's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 7
 
1,815 posts
Join Date:Joined: May 2006
Quote:
Originally Posted by brabinder

My contribution. Icons are from Tenius Icon pack.

Brabinder

thank you very much !

can you post a screenshot ?
Last edited by koxx; 14th June 2009 at 02:04 PM.
14th June 2009, 01:54 PM   |  #4  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2009
More
Screenshot is here !
Attached Thumbnails
Click image for larger version

Name:	widget.jpg
Views:	2007
Size:	21.3 KB
ID:	195579  
16th June 2009, 08:37 PM   |  #5  
koxx's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 7
 
1,815 posts
Join Date:Joined: May 2006
IMPORTANT :
application name changed to "Forecast weather widget"

reason : package name changed from "org.jsharkey.sky" to "org.koxx.forecast_weather".

skin folder on sdcard should be renamed to respect that !
Last edited by koxx; 16th June 2009 at 10:51 PM.
16th June 2009, 10:53 PM   |  #6  
koxx's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 7
 
1,815 posts
Join Date:Joined: May 2006
new Lavana skin in ressource file (first post)
17th June 2009, 12:50 AM   |  #7  
BSDADON's Avatar
Senior Member
Thanks Meter: 9
 
575 posts
Join Date:Joined: Mar 2009
More
Sorry to be the bearer of bad news.......again. When I try to use the Lavana skin it causes the app to force close. Hope it is just me so it isn't an issue but just thought I would let you know.
17th June 2009, 12:58 AM   |  #8  
mannyb's Avatar
Senior Member
Thanks Meter: 3
 
651 posts
Join Date:Joined: Dec 2008
More


My swedroid skin.
Attached Files
File Type: zip mannyb_swedroid.zip - [Click for QR Code] (111.9 KB, 454 views)
17th June 2009, 04:24 AM   |  #9  
Member
Flag Nanjing
Thanks Meter: 0
 
73 posts
Join Date:Joined: Mar 2009
More
It seemed there is no skin icon for night weather conditions..
17th June 2009, 08:52 AM   |  #10  
koxx's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 7
 
1,815 posts
Join Date:Joined: May 2006
Quote:
Originally Posted by biAji

It seemed there is no skin icon for night weather conditions..

already in task list

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes