Giter Club home page Giter Club logo

xamarinformstoolbarcustomfont's People

Contributors

anatoliiapfm avatar daniel-luberda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xamarinformstoolbarcustomfont's Issues

Toolbar Item Secondary Android

I have use your code to set font icons in toolbar items.

The problem begins when I want to set an icon to a secondary toolbar item.

This is a primary icon toolbar

image

And those ones are secondary:

image

Error with FormsAppCompatActivity

Hi,
I'd like to use your customToolbar with FormsAppCompatActivity but this line throw an exception :
LayoutInflater.Factory = new CustomLayoutInflaterFactory();

"Java.Lang.IllegalStateException: A factory has already been set on this LayoutInflater"

Could you help me please ?

How to make this working on iOS

Hey! That is great sample, but for iOS working needs some small fix.
Just add to your Info.plist :

<key>UIAppFonts</key>
   <array>
      <string>fontawesome.ttf</string>
   </array>

and of course customFontName set as const string customFontName = "fontawesome";

That's all and not working great for toolbar on iOS.

font_awesome_ios

Android Support Library Issue

In CustomLayoutInflaterFactory.cs and OnCreateView we should replace:
"com.android.internal.view.menu.ActionMenuItemView" with
"android.support.v7.internal.view.menu.ActionMenuItemView"

Instead of ClassLoader.SystemClassLoader.LoadClass
we have to use also PathClassLoader but i haven't found already the right
path for android-support-v7-appcompat.jar. Any suggestions ?

Issue in rendering 1st icon in ios 13

Hi I am using custom renderer for icons (daniel-luberda/XamarinFormsToolbarCustomFont), Only the last icon is rendering properly. This issue is occurring in ios 13 only not in ios 12.

Xamarin forms version : 3.4.0.1039999

Here is the attached screen shot.
image

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.