Android Galaxy S4 uses values-large?

后端 未结 3 2054
逝去的感伤
逝去的感伤 2020-12-21 09:29

Problem:

I am testing my app using the Eclipse/ADT bundle. On an AVD created to emulate the Galaxy S4 (a device defined as being \"normal\" in si

3条回答
  •  不思量自难忘°
    2020-12-21 09:59

    After reading your comments, I noticed you said you said the Galaxy S4 screen size you defined was 4.9"? All the specs I've seen say it's 5" which will actually change the size in Device definitions from "normal" to "large" once you correctly set the S4 and Nexus 5 to 5".

    Edit the Galaxy S4 emulator's definitions to 5" so you have the right screen size, it will auto-change the size to large, so you will need to decide if you need to switch it to normal then go from there. Also, for those wondering, once that avd starts, it does say that it's pulling from the sw480dp folder, so in your case, you would need a new folder:

    values-sw480dp or to eliminate large devices in this bucket, values-normal-sw480dp

提交回复
热议问题