i want to develop an App with an flexible User Interface. The User choose
an Element from
a given list and place it on the Screen. Did anyone an example for this or
do i have to start
from the ground?
The GUI should work like the Widget-Placement on the launchers. I'm
thankful for every tip
I don't know of any examples without searching (which I'm sure you can do
just as easily), but thinking about the view [that you will place the
widgets on] for starters, you're going to need to create your own class to
support placement at any point the user chooses - unless you plan to 'snap'
the dragged components in to a known layout such as LinearLayout or
RelativeLayout - but that would probably be very annoying for the user
unless they're expecting it.
In the old days you could use AbsoluteLayout but that is deprecated since
fixed layouts are not orientation / resolution / DPI-friendly.
Your next problem is going to be dragging the widget from the palette to the
target view - which effectively means either somehow letting the widget have
no parent while it is dragged, or perhaps creating some sort of
representative drag image.
This is no small task!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en