XAM-Consulting / TEditor

MIT License
63 stars 45 forks source link

Q: How to add custom images/icons for toolbar builder via image path #15

Closed avinash-ramireddy closed 6 years ago

avinash-ramireddy commented 7 years ago

Hi, I am unable to add image of my own. Should those be added in drawable*(hdpi,xdpi,xxdpi...) and Resource(in iOS) or should we specify them in PCL?

It is throwing unhandled exception.

jessejiang0214 commented 7 years ago

Just like add a normal image to Xamrin.Forms project. Put the image into iOS and Android project with the same name. Then call var toolbar = new ToolbarBuilder().AddBasic().AddH1("H1Icon.png"); API to do that

avinash-ramireddy commented 7 years ago

I did same. I have added different type of images of size(30,60,90) for both android and ios.

But when I run it is throwing unhandled exception at image path...

I will try to reproduce issue...