/Sample_icon_set

Sample Weather Icons Set for Chronus and cLock Widgets

Primary LanguageJava

Sample Weather Icons Set for the Chronus and cLock Widgets

  1. Replace the images in this set with your own images using the Yahoo Weather Code Mapping below
  2. The Images need to be named weather_[number or na].png (or use the WebP format for smaller files)
  3. For best results, image dimensions should be as follows:
    • MHDPI = 64x64
    • HDPI = 90x90
    • XHDPI = 128x128
    • XXHDPI = 192x192
    • XXXHDPI = 256x256
  4. Moon phase images are named moon_xx.png. You need at least 8 drawables at 0, 15, 25, 35, 50, 65, 75, 85 and 100. Max is 100 drawables
  5. Customize its moon.xml in the drawable folder to match the drawables you created
  6. Change the package name and metadata values as appropriate
  7. Change the app_name string in values.xml (this is the name that displays in the Icon picker in the app)
  8. Change the ic_launcher.png image as appropriate
  9. Build and intall

Original Yahoo weather codes:

Chronus icon sets use the original Yahoo weather codes. We do an internal mapping of the new Yahoo API codes to the old ones for the Yahoo provider as well as internal mappings for all other provider codes to the set below.

Code Description
0 tornado
1 tropical storm
2 hurricane
3 severe thunderstorms
4 thunderstorms
5 mixed rain and snow
6 mixed rain and sleet
7 mixed snow and sleet
8 freezing drizzle
9 drizzle
10 freezing rain
11 showers
12 rain
13 snow flurries
14 light snow showers
15 blowing snow
16 snow
17 hail
18 sleet
19 dust
20 foggy
21 haze
22 smoky
23 blustery
24 windy
25 cold
26 cloudy
27 mostly cloudy (night)
28 mostly cloudy (day)
29 partly cloudy (night)
30 partly cloudy (day)
31 clear (night)
32 sunny
33 fair (night)
34 fair (day)
35 mixed rain and hail
36 hot
37 isolated thunderstorms (day)
38 scattered thunderstorms (day)
39 scattered thunderstorms (day)
40 scattered showers (day)
41 heavy snow
42 scattered snow showers (day)
43 blizzard
44 partly cloudy (night)
45 scattered showers (night)
46 scattered snow showers (night)
47 scattered thundershowers (night)
na data not available

Moon Phase codes:

  • Moon phase images are named moon_xx.png (or use the WebP format for smaller files)
  • You need at least 8 drawables at 0, 15, 25, 35, 50, 65, 75, 85 and 100. Max is 100 drawables
  • Customize its moon.xml in the drawable folder to match the drawables you created