Issue
I have FrameLayout and want to fill it with multiple TextView. However each time I add the TextView, it hides the previous one. I can unhide it with gravity, but gravity only limited to top, center, and bottom (here was the reference I used). Hence I can only have 3 TextView in my FrameLayout, but I want more than 3, maybe 10 or more. How can I add more TextView in my FrameLayout without hiding the previous one?
Solution
try this:
- use wrap_content for you TextView (not match_parent).
- use
marginTop="10dp"
,marginTop="20dp"
... for different TextView.
Answered By - Fan Applelin
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.