[Wish] More Widget Features

XverhelstX

Well-Known Member
Licensed User
Longtime User
HI Erel,

Is it possible to add some (of the following) functions for the homescreen widgets?


Code: Copy
setLayout(String ViewName, int Left, int Top, int Width, int Height);

- Changes the view position on runtime. (need this desperately.)


Code: Copy
getWidth(String ViewName);
setWidth(String ViewName, int Width);

- gets (and sets) the width of a view.


Code: Copy
getHeight(String ViewName);
setHeight(String ViewName, int Height);

- gets (and sets) the height of a view.

Code: Copy
addView(View view, String ViewName, int Left, int Top, int Width, int Height);

- Adds a view on runtime. (need this desperately.)

Code: Copy
removeView(String ViewName)

- Removes a view at runtime. (need this desperately.)

I don't know if it's added yet, but perhaps a:

_longclick

for some views?

Thanks,

XverhelstX
 
Last edited:
I don't know if it's added yet, but perhaps a:

_longclick

for some views?

I think a long click is not possible on widgets because if I make a long click on a widget the launcher opens a popup menu to configure the widget.
 
I would also add an easiest way to build widgets. Too much XML edition is needed in order to build one.
 
Back
Top