9补丁编辑器android studio突然黑 [英] 9 patch editor android studio suddenly black

查看:158
本文介绍了9补丁编辑器android studio突然黑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具有在AS中使用9补丁程序编辑器经验的人突然开始对图像使用黑色背景吗?我使用它没有任何问题,现在突然无法进行任何编辑.下图应具有透明背景.如果我尝试拖动可拉伸补丁,则没有任何变化,可以说它会不断重置.同样,此更改是在同一会话中发生的.

Anyone with experience having the 9 patch editor in AS suddenly start using a black background for images? I have had no problems using it, now suddenly I can't make any edits. The image below should have a transparent background. If I try and drag the stretchable patches nothing changes, it keeps resetting itself, so to speak. Also this change happened in the same session.

推荐答案

问题很老,但5分钟前我就遇到了这个问题.当我在paint.net中保存自定义.png并选择深度颜色自动检测"选项时,会出现问题.但是当我以"32位"的色深将其保存时,一切正常,并且背景是透明的.

Question is old, but I have run into this issue 5 minutes ago. The problem occur when I save custom .png in paint.net and choose option for depth color "auto-detection". But when I saved it with with color depth "32 bit" all ok, and background is transparent.

这篇关于9补丁编辑器android studio突然黑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆