Tag: ui
-
LightBox Effect for Android Dialogs
The stock black rectangular progress dialogs on Android are ugly, so I created a simple little open-source alternative. It works by placing a translucent overlay on the Android UI with a ProgressBar and a dialog message. There’s also an alpha animation in there, to really class it up. To use it, just add the lightbox_dialog.xml…
-
Android Threading: Part 1
The UI layer of all Android applications runs on a single thread called the UI thread. Performing long-running operations such as network access or database queries on this thread will block the user interface, and eventually crash your application with an Application Not Responding (ANR) error. In this tutorial I’ll show you a simple way…