Create and manage android UI component in java source code can be used in below scenario. When you want to add or remove UI components dynamically by different condition at run-time. When the layout xml file is too huge, it is not efficient to load so many UI components from layout xml file. This article …
Although ActionBar provides users with a globally unified interface style and operation, it doesn’t mean that all applications’ ActionBars have to be exactly the same. If you need to modify the style of your ActionBar to better match your application, you can make it very simple by using Android styles and themes.
This example will show you how to use android ActionBar to implement Tab navigation. When you click one tab, it will show different content view.
This example will show you how to add a Spinner ( Drop Down ) menu list in android action bar.
This example will show you how to use android.support.v7.widget.SearchView class to add search box and implement autocomplete function for the search box. It also demo how to use android.support.v7.widget.ShareActionProvider to open the share application list for your android application.
This article will show you how to create and use action bar menus in android application. There are two activity in this example, each has it’s own action bar. When you click one action bar menu, the other activity will be displayed.
Notification is a message that can be displayed outside the normal user interface of an android application. When the notification is issued, it first appears in the notification area of the status bar. User can click it to see the notification details.
android.support.design.widget.Snackbar is a control in the Android Support Design Library. It can quickly pop up message at the bottom of the screen. User can click the button at right side of Snackbar to interact with it. This article includes three Snackbar examples.
Toast is a mechanism used to display information in Android. Unlike Dialog, Toast has no focus, and the show time is limited. Toast message will disappear automatically after a certain amount of time. So Toast is generally used to display prompt messages to users.
This article contains examples about how to use android.app.ProgressDialog to create a progress popup window.