Round Android Wear Emulator is Square

后端 未结 3 1595
予麋鹿
予麋鹿 2020-12-31 03:43

The title and picture say it all--my round android wear emulator shows the rect layout. I\'d appreciate any tips that help me get the round emulator to show the correct int

3条回答
  •  盖世英雄少女心
    2020-12-31 04:41

    I'd second Wayne's suggestion to use the command line to create the AVDs. If you just disable "Use Host GPU" from the UI, you get the round skin, but the wearable layouts are all still made for square displays, so the content is cut off in the corners. Also, using

    android create avd --force -n WatchRound --target "android-20" --device "Android Wear Round" --skin AndroidWearRound --abi android-wear/x86
    

    to create an x86 based emulator runs quite a bit faster on PCs in my experience.

提交回复
热议问题