wrap_ content VS match_parent with and without linearlayout

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

a TextViewwith the width wrap_content just get flexible with the content. However when we have a root layout e.g linearlayout with the width match_parent or wrap_content then the TextView width (equals to wrap_content ) acts differently. Instead of holding the space around the content it holds the full width of the screen regardless of its content
 
Whatever that means, it's too technical a question for the AAQ forum. Would you like me to move it to another forum, and if so, which?
 

Members online

Forum statistics

Threads
955,174
Messages
6,963,984
Members
3,163,210
Latest member
PaulWaro