I want to know if it\'s possible in android to do a form like that :

A
I have managed to get a frame with title using the following technique.
Use FrameLayout for the overall layout.
Inside add another layout for your main content - this can be anything. For the background of this layout, use a custom XML drawable with stroke to draw the frame. Make sure to add margins in this layout, especially marginTop, as you need some room to display the title of the frame. Also add some padding to make it look nicer.
Use TextView with opaque background and some paddings as the title. Set marginLeft on it to a reasonable value to offset the title from the left.
Here's my XML for this:
When executed, I get this on the app:

Feel free to tweak the margins/paddings to align the title the way you need.