Android Count Down Timer Example
Android Chronometer Example
Android Analog, Digital And Text Clock Example
Android provides three clock widgets that you can use to implement a clock. They are android.widget.AnalogClock, android.widget.DigitalClock and android.widget.TextClock. The AnalogClock and DigitalClock class have been deprecated since Android SDK version 1.7, but they can still be used. TextClock class is recommended.
Android ToggleButton Example
Android SpannableString Example
Android Multi AutoComplete TextView Example
android.widget.MultiAutoCompleteTextView class is used to implement multiple auto-complete input text control in android applications. It behaves similar to the class android.widget.AutoCompleteTextView, the difference is that it can let you input text with autocomplete function multiple times. Each text in the input text box is separated by a specified token string.
Android AutoCompleteTextView Example
There are a lot of auto-complete scenarios in the android app. For example, when you use a search engine, you input some characters in the search box then a list of search keywords will pop up. It is not difficult to achieve. This example will show you how to do this use android.widget.AutoCompleteTextView component.
Android CheckBox Example
The CheckBox object is a widely used UI component in android applications. android.widget.CheckBox is the java class that implements the checkbox in android. This article will show you an example of how to use this class and how to use the OnCheckedChangeListener to listen to the checkbox selection change event.