-
Vector Drawable
-
Animated Vector Drawable
-
AppCompat DayNight theme
-
Bottom Sheets
Using BottomSheetDialog in day-night mode.
-
RecyclerView: WRAP_CONTENT
MIT
Sample Project for Android Support Library 23.2
Home Page: http://android-developers.blogspot.com/2016/02/android-support-library-232.html
Vector Drawable
Animated Vector Drawable
AppCompat DayNight theme
Bottom Sheets
Using BottomSheetDialog in day-night mode.
RecyclerView: WRAP_CONTENT
MIT
How work with vector when me need setBackground to RadioButton vector image , and DrawableLeft to textView ?
Error ->Caused by: android.content.res.Resources$NotFoundException: File res/drawable/vector_drawable_cpu.xml from drawable resource ID #0x7f02004e
停下你刷存在感的脚本吧
<set xmlns:android="http://schemas.android.com/apk/res/android">
<objectAnimator
android:duration="1000"
android:propertyName="pathData"
android:repeatCount="infinite"
android:repeatMode="reverse"
android:valueFrom="@string/left_arrow"
android:valueTo="@string/right_arrow"
android:valueType="pathType" />
</set>
seem like there is only one attr 'srcCompat', but if i want use src and background attr same time,……
Genymotion 型号:Google Nexus 5-6.0.0-API 23 -1080x1920
点击切换主题,会崩溃,打印的log如下:
03-24 04:21:07.592 14230-14259/in.srain.demos.vector W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xe99eb680, error=EGL_SUCCESS
03-24 04:21:12.028 14230-14259/in.srain.demos.vector E/Surface: getSlotFromBufferLocked: unknown buffer: 0xe8e371c0
03-24 04:21:12.046 14230-14259/in.srain.demos.vector E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -19
03-24 04:21:12.047 14230-14259/in.srain.demos.vector E/EGL_emulation: tid 14259: swapBuffers(288): error 0x3003 (EGL_BAD_ALLOC)
03-24 04:21:12.047 14230-14259/in.srain.demos.vector A/OpenGLRenderer: Encountered EGL error 12291 EGL_BAD_ALLOC during rendering
03-24 04:21:12.047 14230-14259/in.srain.demos.vector A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 14259 (RenderThread)
还没有在真机上试过,不知道是不是就这款模拟器有问题,秋哥可以试试
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.