All Projects → NAXAM → Bottomtabbedpage Xamarin Forms

NAXAM / Bottomtabbedpage Xamarin Forms

Licence: apache-2.0
A page control for Xamarin.Forms to place tabs at the bottom.

Projects that are alternatives of or similar to Bottomtabbedpage Xamarin Forms

Xxamarin
Repositório com ✨ 141 Exemplos de Implementações e 📦 13 Pacotes de Xamarin
Stars: ✭ 68 (-24.44%)
Mutual labels:  xamarin, xamarin-forms
Lottiexamarin
Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin
Stars: ✭ 1,085 (+1105.56%)
Mutual labels:  xamarin, xamarin-forms
Xamarin
Presentations for building native mobile apps with .NET and Xamarin
Stars: ✭ 49 (-45.56%)
Mutual labels:  xamarin, xamarin-forms
Faceoff
An iOS, Android and UWP app created in Xamarin.Forms that uses Microsoft's Cognitive Emotion API Services to compare facial expressions
Stars: ✭ 79 (-12.22%)
Mutual labels:  xamarin, xamarin-forms
Xamarin.plugins
Cross-platform Native API Access from Shared Code!
Stars: ✭ 1,176 (+1206.67%)
Mutual labels:  xamarin, xamarin-forms
Xamarin Forms Walkthrough
Mobile App Walkthrough created with Xamarin.Forms
Stars: ✭ 46 (-48.89%)
Mutual labels:  xamarin, xamarin-forms
Mvvmnano
The small and smart MVVM framework made with ❤ for Xamarin.Forms.
Stars: ✭ 53 (-41.11%)
Mutual labels:  xamarin, xamarin-forms
Vsmacdeepclean
Visual Studio for macOS add-in / extension that brings you tasty features.
Stars: ✭ 33 (-63.33%)
Mutual labels:  xamarin, xamarin-forms
Barcodescanner.xf
Barcode Scanner using GoogleVision API for Xamarin Form
Stars: ✭ 82 (-8.89%)
Mutual labels:  xamarin, xamarin-forms
Hunt
Hunt is a virtual scavenger hunt app where players can join a game, select a team and solve hints to acquire treasure. The team with the most points wins.
Stars: ✭ 65 (-27.78%)
Mutual labels:  xamarin, xamarin-forms
Fabulous Simple Elements
An alternative view rendering API for Fabulous (Elmish Xamarin.Forms) that is easy to use and simple to read, inspired by Elmish on the web.
Stars: ✭ 43 (-52.22%)
Mutual labels:  xamarin, xamarin-forms
Ffimageloading
Image loading, caching & transforming library for Xamarin and Windows
Stars: ✭ 1,288 (+1331.11%)
Mutual labels:  xamarin, xamarin-forms
Azure For Developers Workshop
The Azure cloud is huge and the vast service catalog may appear daunting at first, but it doesn’t have to be!
Stars: ✭ 38 (-57.78%)
Mutual labels:  xamarin, xamarin-forms
Facialrecognitionlogin
An iOS and Android app that uses facial recognition to enhance the security of a login page. Built using Xamarin.Forms and Microsoft Cognitive Services.
Stars: ✭ 46 (-48.89%)
Mutual labels:  xamarin, xamarin-forms
Mvvmlight
The main purpose of the toolkit is to accelerate the creation and development of MVVM applications in Xamarin.Android, Xamarin.iOS, Xamarin.Forms, Windows 10 UWP, Windows Presentation Foundation (WPF), Silverlight, Windows Phone.
Stars: ✭ 973 (+981.11%)
Mutual labels:  xamarin, xamarin-forms
Aprende Xamarin
Aprende C# y Xamarin desde cero! Auto-guiado y a tu ritmo. Dale ⭐si te gusta. Documentación disponible en el Wiki (website)
Stars: ✭ 53 (-41.11%)
Mutual labels:  xamarin, xamarin-forms
Uisleuth
A Xamarin.Forms Inspector
Stars: ✭ 21 (-76.67%)
Mutual labels:  xamarin, xamarin-forms
Rg.plugins.popup
Xamarin Forms popup plugin
Stars: ✭ 964 (+971.11%)
Mutual labels:  xamarin, xamarin-forms
Enhancedentry
Extended Xamarin Forms Entry with custom behaviours.
Stars: ✭ 64 (-28.89%)
Mutual labels:  xamarin, xamarin-forms
Googleanalyticsforxamarinforms
Google Analytics Plugin for Xamarin Forms
Stars: ✭ 65 (-27.78%)
Mutual labels:  xamarin, xamarin-forms
TopTabbedPage - A Xamarin.Forms control

BottomTabbedPage

A Xamarin.Forms control brings BottomNavigationView for bottom navigation on Android

Tab 1 Tab 5

About

This project is maintained by Naxam Co.,Ltd.
We specialize in developing mobile applications using Xamarin and native technology stack.

Looking for developers for your project?


What's inside

BottomNavigationView is a new control since Android Support Design v25. This source code demonstrate the way to bring it into Xamarin.Forms.

However, BottomNavigationView is very limited from customizing, we have to employ library BottomNavigationViewEx as a patch.

In this code, we have

  • A custom BottomTabbedPage
  • A custom BottomTabbedRenderer

We could

  • change color of background, text of the bar, each item
  • chagne the height of the bar
  • change text typeface

Depedendencies

  • BottomNavigationViewEx nuget

How to use

Install NUGET package

Install-Package Naxam.BottomTabbedPage

Add XML namespace in your XAML

xmlns:naxam="clr-namespace:Naxam.Controls.Forms;assembly=Naxam.Controls.Forms"

Change the root element to BottomTabbedPage (change the code behind as well)

<naxam:BottomTabbedPage
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:local="clr-namespace:Demo"
    xmlns:naxam="clr-namespace:Naxam.Controls.Forms;assembly=Naxam.Controls.Forms"
    x:Class="Demo.MainPage">
    <local:Page1 />
    <local:Page2 />
    <local:Page3 />
    <local:Page4 />
    <local:Page5 />
</naxam:BottomTabbedPage>

Change the colors/heights in your activity class

BottomTabbedRenderer.BackgroundColor = new Android.Graphics.Color(23, 31, 50);
BottomTabbedRenderer.FontSize = 10;
BottomTabbedRenderer.IconSize = 20;
BottomTabbedRenderer.ItemTextColor = stateList;
BottomTabbedRenderer.ItemIconTintList = stateList;
BottomTabbedRenderer.Typeface = Typeface.CreateFromAsset(this.Assets, "HiraginoKakugoProNW3.otf");
BottomTabbedRenderer.ItemBackgroundResource = Resource.Drawable.bnv_selector;
BottomTabbedRenderer.ItemSpacing = 8;
BottomTabbedRenderer.ItemPadding = new Xamarin.Forms.Thickness(8);
BottomTabbedRenderer.BottomBarHeight = 80;
BottomTabbedRenderer.ItemAlign = BottomTabbedRenderer.ItemAlignFlags.Center;

Use Iconize for menu item

BottomTabbedRenderer.MenuItemIconSetter = (menuItem, iconSource) => {
    var iconized = Iconize.FindIconForKey(iconSource.File);
    if (iconized == null)
    {
        BottomTabbedRenderer.DefaultMenuItemIconSetter.Invoke(menuItem, iconSource);

        return;
    }

    var drawable = new IconDrawable(this, iconized).Color(Color.White).SizeDp(20);

    menuItem.SetIcon(drawable);
};

Source Code

  • Naxam.BottomNavs.Platform.Droid/*.cs
  • Naxam.BottomNavs.Forms/BottomTabbedPage.cs

Credits

This library currently uses BottomNavigationViewEx from @ittianyu BottomNavigationViewEx library.

License

BottmTabbedPage is released under the Apache License license. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].