For Android
I have two labels in a table row. I am trying to set these two label vertical but the firstLabel
overlaps the second one. As firstLabel
's height is "auto" and it contains dynamic text e.g. 10 lines , 20 line.
Due to dynamic height of firstLabel
I couldn't set secondLabel
's top so it gets overlapped.
I've tried all possible solution available on the SO and Appcelerator but couldn't find the fix.
1). I couldn't get height of firstLabel
after or before adding it to the view, table's row etc...
2) Tried to set height of label according to text's length but couldn't fix it .
Still looking for the solution..
Image may be NSFW.
Clik here to view.