I want to create a custom-list in android like on this picture:
how should I create those custom elements in java-code? I thought of creating a custom_element_layout.xml and then inflate it width a given height in java... is this possible?
and how can I make them overlaying the listelements and set their position? I haven't found a method in android's View.class that is called "setPosition(x,y)" or something like that.
I found an example that seems to explain what you are looking for here. There should be a link to the source somewhere on the page.