Create and manage android UI components in java source code can be used in the below scenario. When you want to add or remove UI components dynamically by the different conditions at run-time. When the layout XML file is too huge, it is not efficient to load so many UI components from the layout XML …
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 Action Bar 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 a search box and implement autocomplete function for the search box. It also demos 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 applications. There are two activities 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. Then users 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 a message at the bottom of the screen. Users can click the button on the right side of the 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 showtime is limited. A toast message dialog 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.