Android Studio 3.1.2, TextView Attributes, missing match_parent for layout_width

  • Replies:2
  • Answered
Saleem
  • Forum posts: 2

May 29, 2018, 7:13:40 AM via Website

I have recently downloaded the latest version of Android Studio and I am writing a helloWorld app. I have the default TextView and I want to change its layout_width attribute from wrap_content to match_parent. In the drop down, match_parent does not appear, although I can type it in. My question is: Is match_parent no longer supported?

Reply
Best answer
Sailesh Sirari
  • Forum posts: 13

May 29, 2018, 8:10:25 AM via Website

It is supported , sometimes top level don't show auto complete.

Helpful?
Reply
James Watson
  • Forum posts: 1,584

May 29, 2018, 11:39:53 AM via Website

match_parent is supported. (smug)

Download size < 0.15 MB. But also accurate enough, ad-free & free.
The minimalist app available on Play Store: https://goo.gl/ws42fN
Blog: https://okblackcafe.blogspot.com Your 5-star is appreciated.

Helpful?
Reply