简体   繁体   中英

Android Studio Emulator White Bar in Middle of Screen

So I made my own Custom Skin for a android emulator with Android studio but now I have a white bar in middle of my screen: 在此处输入图像描述

layout

parts {
  device {
    display {
      width 1409
      height 3195
      x 0
      y 0
    }
  }
  portrait {
    background {
      image back.webp
    }
    foreground {
      mask mask.webp
      cutout emu01
    }
  }
}
layouts {
  portrait {
    width 1571
    height 3332
    event EV_SW:0:1
    part1 {
      name portrait
      x 0
      y 0
    }
    part2 {
      name device
      x 81
      y 68
    }
  }
}

I edited everything I needed didn't I?

You have to have a pixel error in your mask.webp file:)

Okay, the background of the mask has to be this:

在此处输入图像描述

And not this:

在此处输入图像描述

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM