项目作者: luongvo

项目描述 :
Add missing compat properties to AppCompat views when using vector drawables
高级语言: Java
项目地址: git://github.com/luongvo/AppCompatViewEx.git
创建时间: 2018-03-26T06:58:06Z
项目社区:https://github.com/luongvo/AppCompatViewEx

开源协议:MIT License

下载


AppCompatViewEx

DEPRECATED

These features are supported by AndroidX now: https://developer.android.com/jetpack/androidx/releases/appcompat#1.1.0-alpha01. If you still did not migrate to AndroidX yet, you could use this library for extending support.

Usage

  1. dependencies {
  2. implementation 'com.github.luongvo:AppCompatViewEx:[LATEST_VERSION]'
  3. }

Feature

Adding more support for these properties below for vector drawables

  1. drawableLeftCompat
  2. drawableRightCompat
  3. drawableTopCompat
  4. drawableBottomCompat

to

  1. AppCompatTextViewEx
  2. AppCompatButtonEx
  3. AppCompatEdiTextEx

See sample app for more info: https://github.com/luongvo/AppCompatViewEx/blob/master/app/src/main/res/layout/activity_main.xml