Android Studio 2.2之后的默认按下的MenuItem,带有9个补丁的边框 [英] Default pressed MenuItem with 9-patch border after Android Studio 2.2

查看:75
本文介绍了Android Studio 2.2之后的默认按下的MenuItem,带有9个补丁的边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在更新到Android Studio 2.2和Android Plugin至2.2.0-alpha1之后,我注意到当我按下MenuItem时,它会出现黑色边框.我认为此边框是由其9色补丁按下背景引起的问题引起的.这是一个已知问题吗?

After updating to Android Studio 2.2 and Android Plugin to 2.2.0-alpha1, I noticed that when I press a MenuItem, it gets a black border. I presume that this border is caused by a problem with its 9-patch pressed background. Is this a known issue?


这是按下状态.默认状态很好.


This is the pressed state. The default state works fine.

Obs:我正在真实的设备上进行测试,但是我从未遇到过这个问题.

Obs: I am testing on a real device and I had never experienced this issue.

谢谢!

推荐答案

尝试将默认的Android插件版本2.2 alpha更改为2.1稳定版.

Try to change the default android plugin version 2.2 alpha to 2.1 stable.

classpath 'com.android.tools.build:gradle:2.1.0

更新:稳定后尝试使用最新版本(2.2)

Update : try latest version ( 2.2 ) when it become stable one

这篇关于Android Studio 2.2之后的默认按下的MenuItem,带有9个补丁的边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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