Technology, Smartphones, Games


Xamarin Forms 3.1 released – Bottom bar for Android and more

Bottom bar for Android

I was developing an Android Application using Xamarin Forms. The User Interface Design had a bottom navigation bar. As the Xamarin forms does not provide out of the box support for that I was using custom Library from Nuget (BottomNavigationBarXF), or you can write a custom render. On July 18, 2018 Xamarin Forms got upgraded to version 3.1 and the latest version does support mentioning the bottom bar place for android on the TabbedPage.

android:TabbedPage.ToolbarPlacement=”Bottom”

android:TabbedPage.BarItemColor=”#666666″

android:TabbedPage.BarSelectedItemColor=”Black”

This is so easy and also I updated my project with latest Xamarin forms 3.1 and also removed the custom library references.

What else on Xamarin Forms 3.1  other than this?

1. Easy to mention text prediction and auto capitalization for an entry

<Entry Placeholder=”Enter your text” HeightRequest=”40″>

<Entry.Keyboard>

<Keyboard x:FactoryMethod=”Create”>

<x:Arguments>

<KeyboardFlags>CapitalizeNone</KeyboardFlags>

</x:Arguments>

</Keyboard>

</Entry.Keyboard>

</Entry>

Enable or Disable text prediction for an entry

IsTextPredictionEnabled=”false”

Return type can set to Send,Done, return, Next,Go

ReturnType=”Send”

2.  Multi line entry size can be set to Auto, it will increase the size of the entry as the content increases

AutoSize=”TextChanges”

Read More

Related Posts