Nwesp.Maui.Android.TextInputLayout 1.0.4

dotnet add package Nwesp.Maui.Android.TextInputLayout --version 1.0.4
                    
NuGet\Install-Package Nwesp.Maui.Android.TextInputLayout -Version 1.0.4
                    
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="Nwesp.Maui.Android.TextInputLayout" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nwesp.Maui.Android.TextInputLayout" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Nwesp.Maui.Android.TextInputLayout" />
                    
Project file
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 Nwesp.Maui.Android.TextInputLayout --version 1.0.4
                    
#r "nuget: Nwesp.Maui.Android.TextInputLayout, 1.0.4"
                    
#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 Nwesp.Maui.Android.TextInputLayout@1.0.4
                    
#: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=Nwesp.Maui.Android.TextInputLayout&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Nwesp.Maui.Android.TextInputLayout&version=1.0.4
                    
Install as a Cake Tool

This is a Library for Android's TextInputLayout control ported to .NET MAUI

Setup

Register the TextInputLayout during MAUI app startup.

MauiProgram.cs

using Nwesp.Maui.Android.Hosting;

public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();

    builder
        .UseMauiApp<App>()
        .AddTextInputLayout();

    return builder.Build();
}

Theme Configuration

Configure TextInputLayout themes in App.xaml.cs.

using Nwesp.Maui.Android.Hosting;

public App(AppShell shell)
{
    InitializeComponent();

    this.ConfigureTextInputLayoutThemes();
}

Basic Demo

xmlns:input="clr-namespace:Nwesp.Maui.Android.Controls;assembly=Nwesp.Maui.Android"

<input:TextInputLayout BoxBackgroundMode="Filled" Hint="Label Text">
    <input:MaterialEntry Text="Input Text" />
</input:TextInputLayout>

<input:TextInputLayout BoxBackgroundMode="Outline" Hint="Label Text">
    <input:MaterialEntry Text="Input Text" />
</input:TextInputLayout>

<img width="393" height="880" alt="image" src="https://github.com/user-attachments/assets/b4a65e50-b3df-46e3-a429-6994d2545962" />

Design Notes

The default TextInputLayout implementation is primarily based on Material Design 3 (M3) specifications.

Official Material 3 Text Field guidelines:
https://m3.material.io/components/text-fields/specs

Product 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.

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.4 118 5/30/2026
1.0.3 109 5/22/2026
1.0.2 98 5/22/2026
1.0.1 107 5/22/2026
1.0.0 110 5/17/2026

Initial release with MaterialEntry and TextInputLayout support.