Pierre Hébert would you please provide some sample code using getRootView to modify the hierarchy?
Pierre Hébert would you please provide some sample code using getRootView to modify the hierarchy? Because I am not able to change anything of these views via script.
]]>
« Title (Previous Post)
(Next Post) Ok i’m uploading files in a bit and also a video…this is Brushed…its possible because of Lightning Launcher… »
< ![CDATA[
Do you mean adding or removing view, or changing properties ?
There are quite a lot of properties that cannot be set because they are handled by the container (visibility, position, layout params). Adding views is somewhat not possible since the hierarchy is made of single child view groups (for instance the “BoxLayout” can only manage one child).
]]>
< ![CDATA[
I tried to open the LLX apk, but you obfucated everything, even the layout files…. Maybe just give us the (xml) files to see the structure, etc ?
]]>
< ![CDATA[
Layout files are not obfuscated, there are encoded using to be used by the Android xml pull/push parser for best efficiency, you need a tool to reformat code.
]]>
< ![CDATA[
Also you wont see a layout file for items view since they are built with code only.
]]>
< ![CDATA[
Pierre Hébert I even tried to replace a view, but that didn’t work either.
]]>
< ![CDATA[
Lukas Morawietz I think I will create a new item type “Custom view”. That’s the only way to handle things cleanly.It will have a hook to create the view through script, maybe other specific hooks (destroy, anything else?).
(this is yet another pandora box…)
]]>