romainpiel / Shimmer-android

(DEPRECATED) An Android TextView with a shimmering effect
2k stars 438 forks source link

app icon conflict #20

Closed ff0o0 closed 9 years ago

ff0o0 commented 9 years ago

android:icon="@drawable/ic_launcher"

My app icon turns into 'ic_launcher.png' of the shimmer library on Nexus 5(Android 5.1).But on the other phones Android 4.+ it's my 'ic_launcher.png'. How to fix ? change my icon file name ?

thedumbtechguy commented 9 years ago

But the library doesn't have a launcher Icon.

romainpiel commented 9 years ago

that error should have been solved in version 1.3.0 Please use version 1.4.0 and it should fix it. I noticed I didn't update the README with that info.

thedumbtechguy commented 9 years ago

I don't know if this will work, but it should.

Create hdpi mdpi xhdpi and xxhdpi versions of your icon. Or simply copy the original into these dirs. It should override the lib.

romainpiel commented 9 years ago

or just update the lib to 1.4.0

ff0o0 commented 9 years ago

@frostymarvelous yes, i have different size icon.

@RomainPiel updated, it not work. Does the library have the dir named 'drawable-hdpi-v4' ?

8748

ff0o0 commented 9 years ago

i have solved by adding dir named 'drawable-xxhdpi'.

claust commented 9 years ago

As ff0o0 pointed out, this issue seems to remain in the 1.4.0 available from the mvn repo. @RomainPiel Any chance the repo has not been updated properly? The date says Jan 12th 2015: http://mvnrepository.com/artifact/com.romainpiel.shimmer/library/1.4.0