4

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?

enter image description here
This is the pressed state. The default state works fine.

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

Thank you!

4

1 回答 1

7

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

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

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

于 2016-06-01T08:55:41.903 回答