MohamedAbdelwahab.FloatingTabBar.Android
1.0.0
dotnet add package MohamedAbdelwahab.FloatingTabBar.Android --version 1.0.0
NuGet\Install-Package MohamedAbdelwahab.FloatingTabBar.Android -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MohamedAbdelwahab.FloatingTabBar.Android" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MohamedAbdelwahab.FloatingTabBar.Android" Version="1.0.0" />
<PackageReference Include="MohamedAbdelwahab.FloatingTabBar.Android" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MohamedAbdelwahab.FloatingTabBar.Android --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MohamedAbdelwahab.FloatingTabBar.Android, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MohamedAbdelwahab.FloatingTabBar.Android@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MohamedAbdelwahab.FloatingTabBar.Android&version=1.0.0
#tool nuget:?package=MohamedAbdelwahab.FloatingTabBar.Android&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MauiFloatingTabBar.Android
Reusable NuGet package for adding an Android floating Shell tab bar to another .NET MAUI app.
Repository: https://github.com/mohamed-Abd-el-wahab/MauiFloatingTabBar.Android
Folder layout
MauiFloatingTabBar.Android/
Platforms/
Android/
Resources/
values/
styles.xml
TabBar/
FloatingShellTabBar.cs
snippets/
MainActivity.cs.snippet
MauiProgram.cs.snippet
Build the package
dotnet build MauiFloatingTabBar.Android/MauiFloatingTabBar.Android.csproj -c Release
The .nupkg is written to:
LocalPackages
Consume in another app
- Add
reusable/LocalPackagesas a local NuGet source (or install from nuget.org). - Add the package only for Android.
- Apply the
snippets/MainActivity.cs.snippetchange. - Apply the
snippets/MauiProgram.cs.snippetchange.
Example csproj:
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0-android'">
<PackageReference Include="MohamedAbdelwahab.FloatingTabBar.Android" Version="1.0.0" />
</ItemGroup>
Required result
- The app keeps
@style/Maui.SplashThemeonMainActivity MainActivity.OnCreate()callsSetTheme(Resource.Style.FloatingShellTabsMaterialTheme);beforebase.OnCreate(...)MauiProgramcallsbuilder.UseFloatingShellTabBar()on Android
Optional customization
Inside FloatingShellTabBar.cs:
BackgroundColorHexSelectedItemBackgroundColorHexSelectedColorHexUnselectedColorHex- spacing, radius, and icon size options
Example:
#if ANDROID
builder.UseFloatingShellTabBar(options =>
{
options.BackgroundColorHex = "#FFFFFF";
options.SelectedItemBackgroundColorHex = "#F3F4F6";
options.SelectedColorHex = "#111827";
options.UnselectedColorHex = "#9CA3AF";
});
#endif
What the package includes
- The
MauiFloatingTabBar.Androidassembly - A transitive Android resource file that adds
FloatingShellTabsMaterialTheme
Notes
- This package is Android-only.
- Reference it only for the Android target in multi-target MAUI apps.
- It expects the app to use
Shellwith aTabBar.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.30)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 121 | 4/27/2026 |