Manipulate UI
Posted: 02 Sep 2017 10:30
I would like to have a way to not only control but to modify/manipulate the graphical user interface of an app. On windows that isn't so easy because most apps don't rely on common frameworks like .NET
But on android it *shouldn't* be too hard AFAIK. IDK what much of permissions would be needed ( I would be okay with root+xposed cause i have them on all my devices anyway )
What i was thinking of:
But on android it *shouldn't* be too hard AFAIK. IDK what much of permissions would be needed ( I would be okay with root+xposed cause i have them on all my devices anyway )
What i was thinking of:
- body = getCurrentBody() // Should return the main background of the current view so you can manipulate its color for example.
- element = getElement/s(str Text)
- element = getElement/sByID(str ID)
- button = newButton(str Text, str FontColor, str BGColor, str BGImage) [?]
- newButtonFunc(button, execFlow, "button pressed") [?]
- label = newLabel(str Text, str FontColor)
- removeElement(element)
- replaceElement(element, replacement)
- addElement(parent, newElement)
- setElementBG(body, "#000000")
- resizeElement(element, height, width)
- moveElement(element, x, y)