Professional Documents
Culture Documents
skin
13112009
Rate This
For backgrounds :
Pure calendar background
Pure grid calendar 4×2 (regular PNG)
Pure grid calendar 4×3 (regular PNG)
Pure grid calendar 4×2 (regular PNG)
Pure messenger classic background (with 9-patch)
Pure messenger list background (with 9-patch)
Pure music background (with 9-patch)
For icons :
Pure calendar skinnable ressources
Pure grid calendar skinnable ressources
Pure messenger skinnable ressources
Pure music skinnable ressources
How to test ?
Now, we’ll edit the XML file _local_skin_list.xml file and add this line just before the last “</list>” :
<background zip_name="your_skin_name"
long_name="Long skin name"
version="v1.0"
installed_version=""
sizes=""
file_type="zip"
prefered_text_color="-16777216"
/>
You have to use the 9-patch tool to define and test you scalling (cf here).
Once you defined the strechable zones, you save & keep the 9 patch image. We’ll see later you to use it.
But you have to put a normal PNG image in the skin folder (without thin borders with black lines for
strechable zones).
Strechable zone are normally stored in the 9-patch PNG, but for the skin, we need to extract those data
and store them in a the skin parameters file on the sdcard.
Be carefull, position will be coded on 4 values, each value is coded with 8bits signed values.
For example :
- 44 equals 44
- 146 become -109 >>>> coded on 8 bytes inverted -> if > 127 then val = pix pos – 255 = 146-255 =
-109
Now, we’ll edit the XML file _local_skin_list.xml file and add this line just before the last “</list>” :
<background zip_name="your_skin_name"
long_name="Long skin name"
version="v1.0"
installed_version=""
nine_patch_chunk="1, 2, 2, 9, 0, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, 13, 0, 0, 0, 44,
0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, -109, 0, 0, 0, 44, 0, 0, 0, 47, 0, 0,
0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 1, 0, 0, 0"
sizes=""
file_type="zip"
prefered_text_color="-16777216"
/>
My advise is to test with a true 4×2 in 320×200, then reduce it to a 160×66 by cutting strechable parts.
This ‘nine patch chunck’ included in the xml strech the image following this rules (same image than
example given ) :
- in height, from pixels 44 to 46
- in width, from pixels 126 to 146
If you want, I can generate you another nine chunck patch, just send me your ‘image.9.png”.
Same thing.
My advise is to test with a true 4×2 in 320×200, and keep this resolution. Other resolution used (for 4×3
and 4×4) are greater, so, no need to reduce the image size.
A classic ‘nine patch chunck’ :
nine_patch_chunk="1, 2, 4, 15, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 62, 0, 0, 0, 56,
0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 2, 1, 0, 0, 56, 0, 0, 0, 97, 0, 0, 0,
110, 0, 0, 0, -105, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0,
0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0"
This ‘nine patch chunck’ , strech the image following this rules :
- in width, from pixels 63 to 257,
- in height, from pixels 56 to 96 and from 110 to 149 (the middle part is used to keep a good ratio for
arrows)
If you have difficulties with 9 patch, mail me, I’ll explain you.
How to submit ?
Tips : change color bars in Pure calendar and Pure grid calendar
Ads by Google
Actions
Comments RSS
Trackback
Information
Categories : Uncategorized
6 responses
24022010
A challenge for you graphic design types - Droid Forum - Verizon Droid & the Motorola
Droid Forum (17:33:13) :
[...] A challenge for you graphic design types Can someone design a smoked glass skin
for the Pure Messenger product and the Pure Grid product? Is this a hard thing to do? I
would do it myself, but of course I have no expertise with the arcane arts of skin design.
I am sure that if you take on this quest of beauty and matching-ness your name will
forever be writ in the "Annals of Great Design" and Pure product owners, who have
installed a smoked glass ROM everywhere will sing your praises. PARTICULARLY if you
do this for the 4X3 Grid Calendar and 4X3 List Messenger "Say What!?" How to design a
skin Android 'Pure' widgets series (calendar) [...]
Reply
22052010
Any skins designers here ? « Android 'Pure' widgets series (calendar) (10:56:50) :
[...] like to see more skins submited. If anybody have design skills, there is a guide to
create them here. Possibly related posts: (automatically generated)Spurring
ContributionsHumble Indie Bundle Part 2: [...]
Reply
27052010
9 Patch PNG Help - Android Forums (16:56:16) :
[...] good but you should ask me, I have a skin help on my blog How to design a skin
Android 'Pure' widgets series (calendar) [...]
Reply
20062010
‘How to make a skin’ manual update « Android 'Pure' widgets series (calendar) (13:26:57) :
Reply
21062010
jose (01:47:15) :
I would love it if you made skins available to everyone through the app. I would love to
get something with white letters and slightly dark background. Something a little
sleeker and modern.
Reply
26072010
Pure messenger widget - Page 3 - Android Forums (11:19:06) :
[...] Originally Posted by stainlessray Hey koxx, love the apps the latest update seems to
have addresses the redraw issue on low mem, and email is working with messenger
much better. thanks for the great work. your presence here in the forum is evidence of
how much you put into the performance of the applications with your name on them.
that commands respect. keep it up. Any chance the future holds further
skincustomization options? like the ability to use pics for backgounds? or is that going
to far you think? (it's less important than performance to me, but a novelty i would
enjoy) I really want it to be the best messenger agregator widget, so, yes, I am ready to
spend a loooot of time on it Next release will offer slight visual improvements, and a
new option for rock stable service. For skins, you can already create skin your self very
easily : How to design a skin Android 'Pure' widgets series (calendar) [...]
Reply