Skip to content
Advertisement

How to adjust Text Views in different Screens (Android Studio)

I’ve search for all Internet but can’t figure this out, i have my textviews on my Images, when I rotate the phone or change to other screen size, the Text won’t adapt like i want (left image) i already tried app:autoSizeTextType=”uniform”, wrap content, match parent, but this won’t do.

Image

my xml

JavaScript

Advertisement

Answer

You can create a new layout for landscape mode.

you can create one by right clicking on the res directory

New -> Android resource directory

New -> Android resource directory and filling out the prompt below.

and you can take a look at this one.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement