VectorDrawable Backwards Compatibility And Installing Unofficial Support Libraries

后端 未结 4 1566
一向
一向 2021-02-10 03:54

Bear with me, I\'m new!
I want to use vectors in my android app, and I want my app to be backwards compatible. I found this support library that looks pretty cool!*
So

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-10 04:09

    The best solution I found is the BetterVectorDrawable lib together with the SVG to VectorDrawable Converter.

    BetterVectorDrawable is the VectorDrawable implementation for Android 4.0+ with configurable fall-back behavior on Android 5.0+. The lib can be added to a project with just one line (see readme).

    SVG to VectorDrawable Converter is the batch converter of SVG images to Android VectorDrawable XML resource files. Online version is here.

    Links point to readmes, which provide enough information on how to use the lib and the converter.

提交回复
热议问题