can't see skin in skinbrowser

This is where you can share and download open skins for Smart Keyboard!
Post Reply
caffeine666
Posts: 2
Joined: Thu Nov 03, 2011 9:25 pm
Phone: lg p990

can't see skin in skinbrowser

Post by caffeine666 »

i tried to make my first skin with photoshop

but it doesn't appear in the skin browser in SMK

can you say if i'm doing something wrong?

here's the xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<skin version="1.0" name="Darky">
  <!-- Define the keyboard background -->
  <background>
     <!-- Define a color gradient, but you can use an image instead, like this:
       <image>keyboard_background.9.png</image> 
     -->
     <color-top>#000000</color-top>
     <color-bottom>#000000</color-bottom>
  </background>
  <!-- Define the background of normal keys -->
  <key-background>
    <!-- Normal (not pressed) state -->
  	<normal>pulsante.9.png</normal>
    <!-- Pressed state -->
    <pressed>pulsante_premuto.9.png</pressed>
  </key-background>
  <!-- Define the background of modifier keys (shift, delete, etc.) -->
  <mod-key-background>
    <!-- Normal (not pressed) state -->
  	<normal>pulsante.9.png</normal>
    <!-- Pressed state -->
    <pressed>pulsante_premuto.9.png</pressed>
    <!-- Normal state for unchecked modifier keys (Shift and Alt) -->
  	<normal-off>shift.9.png</normal-off>
    <!-- Pressed state for unchecked modifier keys -->
    <pressed-off>shift_premuto.9.png</pressed-off>
    <!-- Normal state for checked modifier keys -->
  	<normal-on>shift_on.9.png</normal-on>
    <!-- Pressed state for checked modifier keys -->
  	<pressed-on>shift_premuto_on.png</pressed-on>
  </mod-key-background>
  <!-- Define the icon for special keys -->
  <symbols>
  	<delete>android_sym_keyboard_delete.png</delete>
  	<return>android_sym_keyboard_return.png</return>
  	<search>android_sym_keyboard_search.png</search>
  	<shift>android_sym_keyboard_shift.png</shift>
   	<shift-locked>android_sym_keyboard_shift.png</shift-locked>
   	<space>android_sym_keyboard_space.png</space>
   	<mic>mic_white.png</mic>
  </symbols>
  <!-- Define text colors -->
  <colors>
    <!-- normal key label -->
    <label>#8d2323</label>
    <!-- alternative character label -->
    <alt-label>#770000</alt-label>
    <!-- modifier key label -->
    <mod-label>#8d2323</mod-label>
    <!-- shadow colors are optional, if you don't need them just remove the tags -->
    <shadow>#FF77F777</shadow>
    <alt-shadow>#FFAFBFFF</alt-shadow>
    <mod-shadow>#FF77F777</mod-shadow>
  </colors>
</skin>

and here is an example file i left 1 pixel border and draw with pencil exact same black lines i found in the example posted in the how to
i saved those as 24png with transparency support...

don't know where's the error....
Attachments
pulsante.9.png
pulsante.9.png (1.9 KiB) Viewed 4913 times
User avatar
meyergre
Posts: 196
Joined: Thu Apr 21, 2011 8:12 pm
Phone: Nexus one 2.3.4, Notion Ink Adam 3.0.1
Location: Alsace, France

Re: can't see skin in skinbrowser

Post by meyergre »

did you compress your skin's files into a ZIP file, and then put this file in a "skins" directory on your SD card ?

edit :

Code: Select all

   <color-top>#000000</color-top>
     <color-bottom>#000000</color-bottom>
try to add the transparency indicator, like this :

Code: Select all

   <color-top>#FF000000</color-top>
     <color-bottom>#FF000000</color-bottom>
(the same for the text labels)

Regarding your picture, it looks a bit strange in photoshop : there is a dark-red background, and your white glow on the bottom of the key appears over the black line, so the picture is not a valid 9-patch one.

Don't hesitate to download an existing skin, and then make changes in it, I guess it's the best way to understand how it works ;-)
see all my skins here : http://lepetitpingouin.fr/smartkeyboard/ !
Like it ? buy me a beer ;)
______________________________
Greg
caffeine666
Posts: 2
Joined: Thu Nov 03, 2011 9:25 pm
Phone: lg p990

Re: can't see skin in skinbrowser

Post by caffeine666 »

ok so i have a problem...
i tried to just decompress and compress the galaxyics skin found in the forum... and i can't read it on smartkeyboard menu.... i tried with the original one and works... i didn't edit anything...
so can be a compressor problem? i tried
7zip without compression, just making an archive
7zip with normal compression
winrar with normal compression

obviously all .zip format...

can be the use of a 64bit version a problem?


looked projects on photoshop and glowing doesn't go on the black pixel line, is just a graphic error, think for the forum upload or something, cause i did it with ruler :P

thinking is a compression error


ora can be that i use dreamweaver for xml editing????


Update:
tried to decompress galaxyics again
called it Galaxy ICS2 in xml name (unique edit, with txt note)
called the file galaxyics2.zip and zipped with normal compression(with winrar 32 bit)


nothing...

obviosly skins folder is right, cause downloaded themes work....

:( going maaaaaaaaaad lol, can't understand what the problem can be...
i used the same file i download, just made those little things (added a 2 in the xml name and 2 in the zip name)
User avatar
meyergre
Posts: 196
Joined: Thu Apr 21, 2011 8:12 pm
Phone: Nexus one 2.3.4, Notion Ink Adam 3.0.1
Location: Alsace, France

Re: can't see skin in skinbrowser

Post by meyergre »

send me a zip, i'll try to find out the problem ;-)

Sent from my GT-P7500 using Tapatalk
see all my skins here : http://lepetitpingouin.fr/smartkeyboard/ !
Like it ? buy me a beer ;)
______________________________
Greg
Post Reply