New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
koxx
Old
(Last edited by koxx; 18th July 2009 at 04:56 PM.)
#1  
koxx's Avatar
Senior Member - OP
Thanks Meter 4
Posts: 1,812
Join Date: May 2006
Location: Paris
Default Forecast Widget Skins (create background skins !!)

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.
 
brabinder
Old
#2  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: May 2009
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, 1062 views)
 
koxx
Old
(Last edited by koxx; 14th June 2009 at 01:04 PM.)
#3  
koxx's Avatar
Senior Member - OP
Thanks Meter 4
Posts: 1,812
Join Date: May 2006
Location: Paris
Quote:
Originally Posted by brabinder View Post
My contribution. Icons are from Tenius Icon pack.

Brabinder
thank you very much !

can you post a screenshot ?
 
brabinder
Old
#4  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: May 2009
Screenshot is here !
Attached Thumbnails
Click image for larger version

Name:	widget.jpg
Views:	1951
Size:	21.3 KB
ID:	195579  
 
koxx
Old
(Last edited by koxx; 16th June 2009 at 09:51 PM.)
#5  
koxx's Avatar
Senior Member - OP
Thanks Meter 4
Posts: 1,812
Join Date: May 2006
Location: Paris
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 !
 
koxx
Old
#6  
koxx's Avatar
Senior Member - OP
Thanks Meter 4
Posts: 1,812
Join Date: May 2006
Location: Paris
new Lavana skin in ressource file (first post)
 
BSDADON
Old
#7  
BSDADON's Avatar
Senior Member
Thanks Meter 8
Posts: 569
Join Date: Mar 2009
Location: My apartment...
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.
Phone: Verizon Galaxy S3 ROM: LiquidSmooth 2.5

Tablet: Kindle Fire ROM: Unofficial AOKP

Retired: HTC G1, HTC MT3GS, HTC Thunderbolt, Verizon Galaxy Nexus
 
mannyb
Old
#8  
mannyb's Avatar
Senior Member
Thanks Meter 1
Posts: 646
Join Date: Dec 2008


My swedroid skin.
Attached Files
File Type: zip mannyb_swedroid.zip - [Click for QR Code] (111.9 KB, 429 views)
Add a dab of lavender to milk. Leave town with an orange, and pretend you're laughing at it
--Manny Bianco
 
biAji
Old
#9  
Member
Thanks Meter 0
Posts: 73
Join Date: Mar 2009
Location: Nanjing
It seemed there is no skin icon for night weather conditions..
 
koxx
Old
#10  
koxx's Avatar
Senior Member - OP
Thanks Meter 4
Posts: 1,812
Join Date: May 2006
Location: Paris
Quote:
Originally Posted by biAji View Post
It seemed there is no skin icon for night weather conditions..
already in task list


XDA PORTAL POSTS

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more