Guys, does nine patches really works on LL?
Guys, does nine patches really works on LL? Cause I set a nine patch as normal background of an item and it is applied as a normal image D:
EDIT: before someone says it, I create the IMG on Photoshop and then I modify it on draw9patch tool from android SDK… So it is inevitably a nine patch.
———
Yes, it has .9.png as extension.
]]>« These are not bugs! Just bad behavior. (Previous Post)
(Next Post) Hi there, my first post here, bugreport. :) »
< ![CDATA[
Short answer, yes. I use them often. No idea what could be wrong.
]]>
< ![CDATA[
Chris Chastain if I upload the image, can you try it and tell me if it woks?
]]>
< ![CDATA[
Sure
]]>
< ![CDATA[
Chris Chastain https://www.dropbox.com/s/59ruquusvos1564/drawer_shade.9.png?dl=0
]]>
< ![CDATA[
It works, but I think not what you intended. You have the stretch area set for the blank white side.
Is that what you intended?
I moved the stretch area to the right, to the gradient area, so it would better fill the area.
]]>
< ![CDATA[
what i want to do is a kind of shadow to the right side of a panel
]]>
< ![CDATA[
And this is how it looks applied: https://www.dropbox.com/s/1irr9a6nnofsmb9/Screenshot_2015-07-07-18-38-03.png?dl=0
]]>
< ![CDATA[
Yes, that’s about how it looked in the folder I stuck it in.
]]>
< ![CDATA[
So do you mean a shadow cast by the other panel, to the right?
]]>
< ![CDATA[
One other thing… How thick are your black lines? They are supposed to be only 1px thick
]]>
< ![CDATA[
Chris Chastain if it looks exactly like in sceenshot, then it doesn’ t woek to you too, cause it shouldn’t be shown the black lines. Anyway that’s how it would be like (screenshot edited on photoshop): https://www.dropbox.com/s/swwfq6hcfcyzvkj/2015-07-07-1.png?dl=0
]]>
< ![CDATA[
In fact the trickness of the black lines is 1px
]]>
< ![CDATA[
Try this
https://drive.google.com/file/d/0BznKSfF8oBq4cnFSZmN4ZmI3LWs/edit?usp=docslist_api
]]>
< ![CDATA[
Ah, on the other side.
]]>
< ![CDATA[
I try it on three different items, and it becomes stretched in each case D:
]]>
< ![CDATA[
It’s supposed to stretch.
One last thought, did you compile your image after making it a 9 patch
]]>
< ![CDATA[
Another test
https://drive.google.com/file/d/0BznKSfF8oBq4SHotNXdGS0hqU0U/view?usp=docslist_api
]]>
< ![CDATA[
Compile?
]]>
< ![CDATA[
Yeeeeah! This woks! How did you do that?
]]>
< ![CDATA[
Ah, ok.
Yes. Long press on background image selection for a little info.
I did a tutorial on it a long time ago.
I used to use AIDE, from play store to compile an apk right on the phone and then extract the image.
Now I use 9 patch editor (from playstore) because it will save image as compiled.
]]>
< ![CDATA[
https://plus.google.com/+ChrisChastainCC/posts/GEhSpU1ma3z
]]>
< ![CDATA[
“Notice: Lightning Launcher needs compiled nine patchs, not source ones.” That’s the problem… I use draw9patch tool from Android SDK that create sourced nine patches, not compiled. I’ll give a try to that app and I let you know if it works
]]>
< ![CDATA[
Simone Boccuzzi I just moved the stretchable area over some when you said it stretched.
I inferred that I had it in the wrong spot.
]]>
< ![CDATA[
Just make your normal png image in Photoshop and then open it in 9 patch editor, adjust stretch and padding, and when you save, just pick compiled.
Don’t bother with the black lines in Photoshop. Let 9 patch editor handle it. It saves a lot of pissing around
]]>
< ![CDATA[
Chris Chastain it looks pretty nice ^^ : https://www.dropbox.com/s/oi7g2uwqbcardap/Screenshot_2015-07-07-20-27-04.png?dl=0
Thanks for your help 🙂
]]>
< ![CDATA[
Oh, good ! No problem. Glad it worked out
]]>
< ![CDATA[
Simone Boccuzzi nice screen by the way.
]]>
< ![CDATA[
Sergio Azar thanks 🙂 that’s the beta of de “The Archetype” project. Tomorrow will start the beta session on my community
]]>