How to make textAlignment under TextView visible in Android Studio 3.1.2 in the attributes?

user3116015 picture user3116015 · May 28, 2018 · Viewed 7.8k times · Source

I'm following an online tutorial about Android Studio. But in the video clip, the instructor use textAlignment which is under textAppearance which is under textView under Attributes. In Design View. I looked on the developer website but couldn't find the answer. In my Android Studio 3.1.2, it stops with textStyle (B,I,Tt). I would like to add this function to my attributes.

Screenshot from instructor video

enter image description here

Answer

Caner SAYGIN picture Caner SAYGIN · Jun 22, 2018

You can not, there is no option for it but you can handle this by using "View All Attributes" -> "gravity". Click the text and then click the "View All Attributes" at the bottom of the options sidebar.

View All Attributes

Then look for "gravity" or search. Then pick the options you want.

gravity