As you can see in below image, I wrote a sting of numbers and their appearance on emulator screen and Preview of Studio is different. On emulator screen on left, I have marked the space with red color, but if you see on the Preview window on the right, there exists no space. How do I make the Preview screen size as same as my emulator screen?
For the emulator, I have set screen size as 5.5 inch and resolution 720x1280. The text size I have set to 66sp
in xml
file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.