Giter VIP home page Giter VIP logo

Comments (10)

EddyVerbruggen avatar EddyVerbruggen commented on May 24, 2024

Can you share the icon you tried, and on which platform(s) (iOS / Android / both)?

from nativescript-feedback.

mendokar avatar mendokar commented on May 24, 2024

perfil

hi Eddy, thanks for you reply, i send url icon i used, is color black.

from nativescript-feedback.

EddyVerbruggen avatar EddyVerbruggen commented on May 24, 2024

Is the problem on iOS, Android, or both?

from nativescript-feedback.

mendokar avatar mendokar commented on May 24, 2024

is both!

from nativescript-feedback.

EddyVerbruggen avatar EddyVerbruggen commented on May 24, 2024

OK. Interestingly there seems to be no code on iOS to do something with the color. I hope to find some time to throw your image in my testapp.

from nativescript-feedback.

EddyVerbruggen avatar EddyVerbruggen commented on May 24, 2024

I just downloaded your icon and dropped it in my demo app (the one included in this repo, I'll push the change as well). Only tested on iOS since you said it happens on both platforms. Behold this screenshot which looks good to me:

simulator screen shot 8 aug 2017 17 38 20

from nativescript-feedback.

mendokar avatar mendokar commented on May 24, 2024

Hi Eddy thanks for the reply, but on Android I can not do the same thing as in IOS, check my attachment.
img_20170808_114230438

from nativescript-feedback.

EddyVerbruggen avatar EddyVerbruggen commented on May 24, 2024

So it's only a problem on Android then?

from nativescript-feedback.

mendokar avatar mendokar commented on May 24, 2024

yes

from nativescript-feedback.

EddyVerbruggen avatar EddyVerbruggen commented on May 24, 2024

Since the problem is only on Android, and iOS is way too tricky to change an image's bitmap without doing a lot of unnecessary work for most cases, I've added a new android.iconColor property. See the TypeScript example in the readme for its usage.

Available in 1.0.6 from npm now.

from nativescript-feedback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.