i have a layout with 2 relativeLayouts on the side and a textView on the middle.
Something like this:
RL || TEXTVIEW || RL
Now, my problem is that everything have a dynamic size, the 2 relativeLayouts have to have always present on the layout and the textview have to be in the center and have to occupy all the space left between both RL. The textView can’t be on top or bottom of any of the relativeLayouts.
All of this have to be done using xml. Any Sugestion? Thanks!
To be able to do this i used layout_weights on all the views, and putted a width of 0dp on all views.