So, let's take a look at how to integrate them. ![]() additionally, since they are a font they should scale properly across different form factors :)Īnd up until a few weeks ago, I had no idea that Xamarin.Forms had great built in support for them. ![]() nope those are being generated from a font! The great part about fonts like this is that they bundle tons of icons into a single file and it is really easy to access them with a specific code. I mean look at all of those beautiful icons right there. ![]() FONTS! I bet you thought I was going to say SVG, but NO, FONTS! However, my eyes have been opened and I am all in on FONTS! Yes. It also happens to be the official way that Google, Apple, and Microsoft tell you to do it and they even give you tools like the Asset Studio to help you generate them. The reason I do this was because it gives very consistent look and feel to an app across all of the different form factors of the devices the app may run on. These are properly scaled and sized images that fit hdpi, xhdpi, xxhdi, and so on, which are great because they are super optimized for each platform. My entire mobile development career I have gone all in on using device specific images and icons. Updated: See the newest way of importing fonts with Xamarin.Forms 4.6 on my latest blog post.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |