Android Studio, centralize the name of the application

Asked

Viewed 205 times

0

Print Android Studio

Imagem do Código

How do I center the circular text ?

1 answer

0

Use the display: flex along with the justify-content: center in a parent element.

So display the result you expect, see in the example I left below.

I hope I’ve helped.

#id-text{
  display: flex;
  justify-content: center;
}
<div id="id-text">
  <h1>GroupTCC</h1>
</div>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.