Home » Android » core » widget


Android StackView Example

The Honeycomb Android version, introduced some interesting widgets with collections. One of them is the Android StackView, a stacked card view where the front view-item can be flipped to give room for the item after it. The StackView collection may be found in several widgets, because of its view behaviour. Generally, StackView is an AdapterView thus working with StackView is ...

Read More »

Android Calendarview Example

When we want to create an Android application that has an Android Activity inside of which we are planning to use a calendar, or if we want to make a simple calendar like application, we should consider in the first place Android Calendarview class. This class is a calendar widget for displaying and selecting dates. The range of dates supported ...

Read More »

Android ViewFlipper Example

ViewFlipper is an extension class of ViewAnimator, which animates between two or more views that have been added to it. Specfically, only one child is shown at a time. To get a better understanding, suppose that we have two TextViews that will be used in our app, but we want only one to be displayed at a time. That is, ...

Read More »

Android FrameLayout Example

FrameLayout represents a simple layout for the user interface of Android applications. It is usually used for displaying single Views at a specific area on the screen or overlapping its child views. In our example we are going to show how you can add and handle FrameLayout in your application. For this tutorial, we will use the following tools in ...

Read More »

Android SeekBar Example

In Android, a SeekBar is a ProgressBar element’s extension that allows the selection of integer values using a natural user interface. SeekBar has a thumb that can be slided in order to choose a value between 0 and some maximum that can be set from the developer. For the need of this example, we will use the following tools in ...

Read More »

Android SlidingDrawer Example

SlidingDrawer represents a widget, where we can use in our Android applications. SlidingDrawer has the ability to hide and/or appear content when the user drags a handle. More specifically, it includes two basic views: the handle where the user can drag. the hidden content that is associated with the handle and it is shown up when the user drags the ...

Read More »

Android EditText Example

Android system supports EditText, which is a subclass of TextView supplied with text editing operations. We often use EditText in our Android applications in order to provide an input or text field, especially in forms. In this example we are going to show you some commonly used EditText xml attributes and how to embody and handle an EditText in our ...

Read More »

Android TextView Example

Android system provides us TextView, from where we can display text into the screen. Although it contains text editing operations, the basic class does not allow editing, so EditText class is provided for this reason. In this example we are going to show you some commonly used TextView attributes and how to embody and handle a TextView in our Android ...

Read More »

Android Auto Complete Example

Sometimes we want from our application, to provide suggestions to the user, when he/she types in an editable text field. We can do that via AutoCompleteTextView, that gives suggestions automatically and display them to a drop down menu, from which the user can choose a preferred item. Moreover, Android give us the opportunity to input multiple items than only one, ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns