Comments (2)
相应的解决方式为,拆分出来,并且靠引用的方式使用:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/armed_base_checkbox_selected" android:state_checked="true" />
<item android:drawable="@drawable/armed_base_checkbox_unselected" android:state_checked="false" />
</selector>
<vector ...>
<vector ...>
from error-prone.
尝试了使用 Using vector assets in Android apps 的方式也没用
from error-prone.
Related Issues (14)
- 直接使用 Android 的 Log 类进行日志的打印 HOT 1
- tint 后的颜色不符合预期 HOT 2
- Too many dex class generated
- 依赖连接超时 HOT 1
- setOnCheckedChangeListener 被误触发
- Gson 序列化 JSONObject 的出现默认节点 HOT 1
- android 自定义的 theme 应该声明默认 windwowBackground HOT 1
- App link verify failed
- WindowInsets.ime 无法获取高度
- When Exoplayer should be released
- Forget to handle SavedState in ViewModel
- use viewModelScope in ViewModel onCleared
- Photo picker in Android don't list all photos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from error-prone.