android – Why am I not able to use layout_width?-ThrowExceptions

Exception or error:

Whenever I use layout_width in Android Studio it shows the error:

this code is not correct

What shall I use there to move my text to bottom left? Other things I have attached in the image below:

Here you can see the code and the error accrued during its execution.

I am unable to find my error so please help me out with it.

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *