Browsing Category
Android
139 posts
Compiled set of tutorials covering a wide range of topics to help you with Android application development.
ListView Header Parallax with Sticky View in Android
A quick Android example with code snippet to demonstrate ListView parallax effect with sticky header. In our previous tutorial, we saw Creating ListView Header Parallax Animation, now in this example we will go little further and make the list header parallax animation with an view stick to top when list is scrolled.
ListView Header Parallax in Android
A quick Android example with code snippet to demonstrate ListView header with parallax effect. You need to follow…
Android Dialog Fragment Example
Dialog is like any other window that pops up in front of current window, used to show some short message, taking user input or to accept users decision. Unlike Toast, a dialog is generally used where user attention is mandate.
How to Add an Event to Device Calendar in Android
In this post, we will learn how to add an event to your device calendar. Android allows us to invoke activities from other application using intent. Here in this example, we will be using the appropriate intent to invoke the default calendar application, and pre-filled with event details. User must must confirm to add the event, or can change, edit any of the details associated with a particular events.
Android TextWatcher Example
In this tutorial we will show you how to use TextWatcher in Android with example. TextWatcher is used to keep watch on the EditText content while user inputs the data. It allows you to keep track on each character when entered on EditText.
Android ScrollView Example
In this tutorial we will show you, how to use Android ScrollView component and create a simple example using various ScrollView properties. ScrollView is a special kind of layout, designed to hold view larger than its actual size. When the Views size goes beyond the ScrollView size, it automatically adds scroll bars and can be scrolled vertically.
Android LinearLayout Example
The LinearLayout is the most basic layout manager provided by Android. The LinearLayout organizes the child views either horizontally or vertically based on the specified orientation property. The value for orientation property can be either horizontal or vertical.
Android TextView Example
In the course of this tutorial, we will take a look into Android TextView widget and various TextView properties. TextView is one of the most fundamental Android user interface widget, which is used to display text on Android screen. TextView is like a dummy label, doesn't allow to edit text input.
Android Lollipop Swipe to Refresh Example
The Swipe to refresh layout is used to indicate user while the content of a screen is being updated. It was earlier introduced in Android 4.4 Kitkat, and was named as SwipeRefreshLayout. Visually it was represented just below ActionBar.
Android RelativeLayout Example
Over the course of this tutorial, we will take a look into Android RelativeLayout and its properties. RelativeLayout is one among the most used layout after LinearLayout. It allows its child views to position relative to each other or relative to the container or another container. For example, if we have to build a complex layout as shown in the image below, this can be achieved with ease by using RelativeLayout.
Android Table Layout Example
The TableLayout layout is an extension of LinearLayout. As the name indicates, TableLayout is used to display child View elements in rows and columns. The concept of TableLayout works something similar to an HTML table. If you can recall the HTML table, TableLayout can be explained as tag and TableRow is like a