AwesomeMaster
AwesomeMaster

Reputation: 31

Text Size in Android Studio and Actual Device

I am using the visual editor in Android Studio. In there, the text is really big, like how I want it to be. But when I build it on a physical device it is default size.

Thanks in advance!

Upvotes: 1

Views: 590

Answers (2)

Mohamad Rostami
Mohamad Rostami

Reputation: 420

there's also something else you may have not noticed yet

in android studio Preview Layout you can choose your the preview device as your actual device or same as it.

enter image description here

this way the preview design will be same as your device. but for other devices you should have above answers in mind.

Upvotes: 0

Hassan Badawi
Hassan Badawi

Reputation: 302

simply create many layout that support pixels make all your layout handle your show way

read this to understand the idea

https://developer.android.com/training/multiscreen/screensizes

and do this in your code then check the devices

https://stackoverflow.com/a/8256573/6998825

Upvotes: 1

Related Questions