Textview Gravity not working properly in android

后端 未结 5 841
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 18:44

What\'s wrong with my code, I\'m trying to display my TextView named \"invalid\", in different locations (left,right,center), but the gravity (left,right,center) w

5条回答
  •  粉色の甜心
    2021-02-13 19:21

    You have given your TextView width wrap_content, and that is the problem, Check below code and replace it to your code.

    
    

提交回复
热议问题