Hi everyone. How can I make a text box with rounded corners?
Hi everyone. How can I make a text box with rounded corners?
]]>
« Hi Pierre Hébert (Previous Post)
< ![CDATA[
Lightning supports 9patch pngs if you change the spinner item to whats shown here theres some buimt into Android you can use, or just download/make new ones theres an app on GPlay that can make them.
https://lh3.googleusercontent.com/m0YuGnOu9ASWhgMZYgUTfFf7WbfYZqJ-zY2Rr2ghFTfxEjTrY2yICr_v_tPLYpwotszDagr9Dg
]]>
< ![CDATA[
How do I change the spinner? Lol Jay M can you please tell me the name of the app? Thanks in advance
]]>
< ![CDATA[
go into the items properties and select background image you will see this screen^ the 2 options under the horizontal row of buttons at the top of the screen are spinners select them and set them as shown. Dunno the name of the app just type in 9patch or 9.png
]]>
< ![CDATA[
Thank you Jay M that helps me a lot.
]]>
< ![CDATA[
tip: not all icon packs show there icons in a grid if this is the case you wont see the icons when the spinners set to icon pack you will see this. Change the top spinner to application and you can see every file inside the icon pack app so you can always use icon packs even when there not supported.
https://lh3.googleusercontent.com/Lh7VhltR3a7T-xyCTV_A9Q0SAjRcgFy7ESmEBjDiwfFVJTSUHFcNq2S4vKRxTw4o7MoA_Lsbow
]]>
< ![CDATA[
Awesome!
]]>
< ![CDATA[
Jay M do you know or it’s even possible to create a custom view to show some data from tasker, like i.e whether Information displayed in LL?
]]>
< ![CDATA[
yup sure is custom views can show anything
]]>
< ![CDATA[
Ok. Now I need to learn js and html. 😂
]]>
< ![CDATA[
and Java
]]>
< ![CDATA[
Don’t know where to start…. 😯
]]>
< ![CDATA[
you might not have to learn any of it in Tasker add an action/Plugin Lightning/Lightning variable. Once you fill in the 2 fields go back to your homescreen and add a text element open its properties swipe left until you see the bindings option press that and choose text/label and then press the + under other you should see the variable you created in Tasker select it and you should have your data displayed. If not restart the launcher
]]>
< ![CDATA[
Jay M can you tell me how to do the same but with images? Don’t know LL configuration
]]>
< ![CDATA[
Nine-patch is a solution, IF you find one roughly the width/height of your textbox.
I am however working on a solution involing the new SVG-features.
Mind you I am still in exploration-fase. And it is probably be build on top of my QuickTheme Script.
]]>
< ![CDATA[
Jappie Toutenhoofd if I need pictures for weather for example, I need it to be dynamic…
]]>
< ![CDATA[
IIRC jappie actually has a script that downloads weather with images it should be in the wiki will have a look.
]]>
< ![CDATA[
http://www.lightninglauncher.com/wiki/doku.php?id=script_webview_with_refresh
]]>
< ![CDATA[
Pedro Letra ok, now i get you.
9-patch or svg is for the background of a (let’s say) 4×1 grid.
But you want “sunny” to be smaller than “scattered thunder storms”.
Right?
A picture might help.
]]>
< ![CDATA[
Jappie Toutenhoofd yes, and I need to update it trough Tasker.
]]>