James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Tabs

Control Text Size on Android Bottom Navigation View

It seems as though my obsession with the Android Bottom Navigation View aka Bottom Tabs will never end! This time I got a question about controlling the size of the text when the user taps on a tab. The default behavior is to zoom in on the text: Inside of your Android project's Resources/values folder create a new file called dimens.xml if it doesn't exist. Then add the following XML to override the size of the text when it is active and not active: <resources xmlns:tools="h…

James Montemagno James Montemagno

Xamarin.Forms: Fully Customize Bottom Tabs on Android & Turn Off Shifting

It seems as if the BottomNavigationView aka Bottom Tabs on Android is one of the top things that I write about on my blogs. There was an introduction post [https://blog.xamarin.com/exploring-androids-bottom-navigation-view/], how to use reflection to remove shifting on native Xamarin.Android [https://montemagno.com/remove-shifting-bottomnavigationview-android/], official support in Xamarin.Forms [https://montemagno.com/xamarin-forms-official-bottom-navigation-bottom-tabs-on-android/] , and most…

James Montemagno James Montemagno

Xamarin.Forms: Official Bottom Navigation/Bottom Tabs on Android

Bottom tabs on Android... Love them... Hate them... it doesn't matter because Google seems to be all in on them. Top tabs were really designed to sort differerent types of data, while bottom tabs make a lot of sense when you want to use them for your entire application's navigation. It also has the perk that it synchronizes your application design and navigation with the iOS counterpart. Since Xamarin.Forms maps to the native controls, when you create a Tabbed Page you get the tabs exa…

James Montemagno James Montemagno

Xamarin.Forms Android Selected & Unselected Tab Colors

I get a lot of questions about Xamarin.Forms. One of my most popular blogs was about spicing upiOS tabs with selected and unselected tab colors [http://motzcod.es/post/138225183932/tintcolor-selectedimage-xamarin-forms-ios], and since that day developers have been asking about Android. Well, to be honest I was always against adding icons to material tabs in Android, but developers want to do it, so here is how you can, with a Custom Renderer for a Tabbed Page. Here is what it will look like at t…

James Montemagno James Montemagno

TintColor & Selected Tab Images in Xamarin.Forms iOS

If you have been reading the blog recently then you know that I have been all about iOS on Xamarin.Forms [http://www.xamarin.com/forms]. I love it! I can’t help myself. No more storyboards, no more xibs, and I get to use Grids and StackLayouts! Who would have thought that James Montemagno would be blogging more about iOS then Android on MotzCodes! Well the main reason is that while out of the box Xamarin.Forms iOS apps look pretty darn good there are still a lot of small tweaks that can add that…

James Montemagno James Montemagno