December, 2015

now browsing by month

 

How to set shortcut icon using bindings?

How to set shortcut icon using bindings?

Hi, I would like to change a shortcut icon using a variable. However I’m not sure which property to bind to and what value I would set the variable to? Maybe it would be easier to create multiple different shortcuts with the same shortcut but different icons. Then I could use the visibility property to show just one of them. That seems a bit complicated just to change a shortcuts icon though. Any ideas?

Hi everyone, thanks for having such good community!

Hi everyone, thanks for having such good community!

I am new wiht LLx and I am trying to make a lookscren with a swipe bar, but I have not found any info/tutorial. I have seen the one with the button, but it is a button only. Any info would be appreciated. Thanks in advance!

Jose

I think I royally messed something up.

I think I royally messed something up. I am unable to remove a panel and even have 2 icons stuck in it that don’t move or activate (it’s like they’re not there, but they are. I do not have an option to remove, even in edit mode. I’d like to remove this and start over, perhaps not mess it up next time. Thanks for any help! Here’s an image of the panel selected in edit mode to show I have no remove button like the wiki indicates I should.

I’m having a problem that just cropped up.

I’m having a problem that just cropped up. My Samsung Galaxy Note 4 recently updated the OS to 5.1.1 so it may be related to that. LL works fine unless I try to edit something. When I long press on the screen the menu pops up, and all of the options work except the edit function. When I press on the pencil the screen freezes, and after about 30 seconds or so I get the message “Lightning Launcher isn’t responding. Do you want to close it?”

I’ve tried restarting the phone, switching to the default launcher and back again, but nothing helps. I’ve backed up my configuration. I haven’t tried uninstalling and reinstalling LL because I have quite a bit of configuration, and I’m concerned that it might not all get restored from the backup.

Any thoughts on what would be my best way to address this would be much appreciated.

Floating desktops: is it possible to have LL react to a swipe from the edge of any app (originally meant to activate…

Floating desktops: is it possible to have LL react to a swipe from the edge of any app (originally meant to activate your floating desktop) but assign a different action to it, e.g. recent apps view?

]]>

Edit: It’s working now…

Edit: It’s working now…

The link for the offline API documentation is dead :

http://www.pierrox.net/android/applications/lightning_launcher/llx-api.tar.gz

]]>

Suggestions about the new ability to draw directly an icon:

Suggestions about the new ability to draw directly an icon:

What about a way to get/draw the original icon? (keep reading)

In my shine icons test (https://plus.google.com/105066926163073195690/posts/iUdNtvtcfcp) I’m drawing an effect above the current icon. The new imageScript feature is perfect for drawing custom icons without extra bitmaps, but it is also perfect for making effect to current icons. The issue is that I need to get the original icon (CustomIcon or OriginalIcon if the custom is null) and in that test I’m keeping a reference of that bitmap, which I’m sure is inefficient. Is getting the icon each time better or even worse?

Anyway I want to suggest three different ways to handle this:

#1: an ImageScript.DrawingContext#drawOriginal() function which will draw the corresponding icon with the colorize color, reflection and all that, so the image script can draw before and after it.

#2: an ImageScript.DrawingContext#getOriginalBitmap() which will return the bitmap that should have been drawed (what the previous suggestion will directly draw, but now returned as a bitmap)

I thing this is not a good suggestion, the extra bitmap is what we want to avoid.

#3: two more functions in the ImageScripts objects: drawAfter and drawBefore that will be the same as draw but one before it and the other after. The difference is that if there is no draw function, the original icon (as I described before) will be draw instead. This allow to: the current ‘override the drawing'( only a draw function) and what I want to make effects in the original icon (drawAfter and/or drawBefore, but no draw).

]]>

Comments and suggestions about the improvements in the script editor:

Comments and suggestions about the improvements in the script editor:

– Now you can fling and it won’t stop after releasing the finger, nice.

– Now when you scroll far enough so the cursor goes out of screen, previously the cursor were moved, and now it doesn’t. Even more: when you start writing the view is scrolled automatically to show the cursor. Just perfect, thanks!

However:

– Previously when you used a keyboard with arrows, when moving the cursor to lines out of screen, the view was automatically scrolled so that the cursor was always in the screen. Now the cursor simply disappear, and it is moving correctly but out of view. I would prefer if possible to scroll the view so that the cursor is visible in this situation.

– Another place where this can be a problem is when selecting text (when you long tap and two cursors are shown with the middle text selected). Previously when you moved one of those cursor to the top/bottom of the screen, the view was automatically scrolled and it was easy to select big chunks of text. Now it is not scrolled so you need to move the cursor, scroll, move the cursor, scroll, etc.

To sum up: when you scroll, the cursor should keep it’s position (being visible or not)

When you move the cursor or write something, the view should scroll so that the cursor is always visible.

]]>

I set some icon for item.

I set some icon for item. But in on normal view in container i neef different croping, for example. I go to imaga picker. And now i must select same icon or image.

Can you add new option, something as edit actual icon/picture? Pierre Hébert​

]]>

I mean, in this menu will be option select set events. (only in menu, not in top bar from edit mode) Pierre Hébert​

I mean, in this menu will be option select set events. (only in menu, not in top bar from edit mode) Pierre Hébert​

]]>