Am developed one application .The UI get varying differently in emulator and device.the cor开发者_运维知识库rect ui displayed in emulator but in device the button size, spinner size,text view all changing deterrently in device.So i have to change some modification in xml file according to the device visibility. any one help me How can i fixed the same xml for device and emulator which both UI display cannot change.what are the things i have to include in my project to fix the same display for emulator and device.
Thanks,
If you want your Android app to look the same on your device and on your emulator than you have to define AVD with the same characteristics as your device (screen resolution, screen density).
精彩评论