luongvo / AppCompatViewEx

Add missing compat properties to AppCompat views when using vector drawables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

Feature

Adding more support for these properties below for vector drawables

drawableLeftCompat
drawableRightCompat
drawableTopCompat
drawableBottomCompat

to

AppCompatTextViewEx
AppCompatButtonEx
AppCompatEdiTextEx

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

About

Add missing compat properties to AppCompat views when using vector drawables

License:MIT License


Languages

Language:Java 100.0%