Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector drawable support #17

Merged
merged 4 commits into from
Mar 14, 2016

Conversation

konifar
Copy link
Contributor

@konifar konifar commented Mar 12, 2016

Hi, thanks for your awesome library! I have one proposal, Vector drawable support.

AppCompat v23.2.0 supports VectorDrawable.
http://android-developers.blogspot.jp/2016/02/android-support-library-232.html

But LikeButton supports only BitmapDrawable.
https://github.com/jd-alexander/LikeButton/blob/master/likebutton/src/main/java/com/like/Utils.java#L37

So I updated AppCompat version, and added vector drawable support and sample code.

compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:design:23.2.0'
compile project(':likebutton')
//compile 'com.github.jd-alexander:LikeButton:0.1.6'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After you release new vesion, please change this dependency 🙇

@jd-alexander
Copy link
Owner

Thanks for contribution. Will review and merge soon.

@konifar
Copy link
Contributor Author

konifar commented Mar 13, 2016

Thanks! 😄

jd-alexander added a commit that referenced this pull request Mar 14, 2016
@jd-alexander jd-alexander merged commit a43402f into jd-alexander:master Mar 14, 2016
@konifar konifar deleted the vector_drawable_support branch March 14, 2016 06:44
@konifar
Copy link
Contributor Author

konifar commented Mar 14, 2016

Thanks for merge!

@shehabic
Copy link

shehabic commented Apr 6, 2016

This doesn't work on devices prior to Lollipop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants