• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between layout_width and android:width

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

You all must be familiar with android:layout_width and android:width attribute in layout's xml file.
I am very confused with this tow tags. Sat I have TextView then I can use both tags. But if I put only width tag android asks for layout_width tag. So I am very confuse regarding use of both tags.
Please explain...
 
Vishal Trivedi
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe layout tags are mandatory tags havent used width and height seperately though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic