Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

AndHUD

> 编程语言
Open source

Android Progress HUD and Dialog helpers for Xamarin.Android apps!

180 stars0 likes2 views
WebsiteGitHub

About

Android Progress HUD and Dialog helpers for Xamarin.Android apps!

AndHUD

AndHUD is a Progress / HUD library for Android which allows you to easily add amazing HUDs to your app!

Features

  • Spinner (with and without Text)
  • Progress (with and without Text)
  • Image (with and without Text)
  • Success / Error (with and without Text)
  • Toasts
  • Xamarin.Android Support
  • Xamarin Component store
  • Similar API and functionality to BTProgressHUD for iOS
  • XHUD API to help be compatible with BTProgressHUD's API (also has XHUD API)

Quick and Simple

…

Changes

v1.4.3

  • Fixed crashes when hud is dismissing itself while Activity or Window is tearing down

v1.4.2

  • Fixed text not being centered correctly

v1.4.1

  • Fixed NullReferenceException when showing non-centered toast #38
  • Added new sample App

v1.4

  • Added prepareDialogCallback which is called right after the Dialog has been created. This can be used to customize the Dialog further.
  • Added dialogShownCallback to get notified when the Dialog has appeared on the screen.
  • Updated Target Framework to Android Oreo 8.1
  • A plethora of bug fixes
    • Fixed Null Ref when trying to update progress wheel
    • Fixed Null Ref when trying to set an image on the HUD
    • Removed duplicate Dismiss call from showStatus
    • Prevent exceptions when trying to show/close hud, when Activity is dead or in background
    • Remove obsolete call to GetDrawable
    • Fixed MaskType conversion from XHUD to AndHUD

v1.3

  • Added cancelCallback parameter to allow dialogs to be cancellable
  • Added XHUD API to be compatible with BTProgressHUD
  • Renamed custom attributes to try and avoid collisions with other projects

v1.2

  • Made all resources lowercase to work around a Xamarin.Android bug
  • Changed all method signatures to request a Context now instead of Activity

v1.1

  • Target version now set to 3.1 (API Level 12), but can be used on 2.3 (API Level 9) and newer (anything below API Level 12 will lose the smooth animation for the progress indicator).

Other Options

  • MaskType: By default, MaskType.Black dims the background behind the HUD. Use MaskType.Clear to prevent the dimming. Use MaskType.None to allow interaction with views behind the HUD.
  • Timeout: If you provide a timeout, the HUD will automatically be dismissed after the timeout elapses, if you have not already dismissed it manually.
  • Click Callback: If you provide a clickCallback parameter, when the HUD is tapped by the user, the action supplied will be executed.
  • Cancel Callback: If you provide a cancelCallback parameter, the HUD can be cancelled by the user pressing the back button, which will cause the cancelCallback action to be executed.

Thanks

Thanks to Nic Wise (@fastchicken) who inspired the creation of this with his component BTProgressHUD (https://components.xamarin.com/view/btprogresshud/). It was so awesome for iOS that I needed to have it on Android as well :)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言