How to configure the Android Emulator to show onscreen buttons like the new Galaxy Nexus?

前端 未结 5 1591
余生分开走
余生分开走 2021-02-01 02:22

I would like to convert/adapt my application to Android 4.0. To do so I plan to use the ActionBar on devices that support it. All Android version >= 3.0 do so. Furthermore devi

5条回答
  •  爱一瞬间的悲伤
    2021-02-01 03:03

    After upgrading to R16 I could only get the on-screen buttons to appear if I created an emulator using the WXGA720 resolution.

    Here is my complete config.ini file:

    hw.sdCard=yes
    hw.mainKeys=no
    hw.lcd.density=320
    disk.cachePartition.size=256MB
    hw.cpu.arch=arm
    skin.name=WXGA720
    sdcard.size=512M
    abi.type=armeabi-v7a
    image.sysdir.2=system-images\android-16\armeabi-v7a\
    image.sysdir.1=add-ons\addon-google_apis-google-16\images\armeabi-v7a\
    hw.gps=yes
    skin.path=platforms\android-16\skins\WXGA720
    hw.keyboard.lid=no
    hw.cpu.model=cortex-a8
    vm.heapSize=48
    hw.ramSize=1024
    

    Hopefully this helps someone.

提交回复
热议问题