Category Archives for Android

Sliding/Swiping Page with ViewPager

Page/Screen slides are transitions between one entire screen to another and are common with UIs like setup wizards or slideshows. This lesson shows you how to do screen slides with a ViewPager provided by the support library. ViewPagers can animate screen slides automatically. Here’s what a screen slide looks like that transitions from one screen […]

Read More...

Adding Google Search To Your App

Search is a core user feature on Android. Users should be able to search any data that is available to them, whether the content is located on the device or the Internet. To help create a consistent search experience for users, Android provides a search framework that helps you implement search for your application. The […]

Read More...

Floating Action Button Example in Android 5.0

Android announced Material Design as a new feature to Android 5.0 Lollipop version. Material Design guides creation of user experiences that work well on different devices, with different input methods and on different platforms. Google is gradually implementing Material Design in their apps and products. One interesting new design pattern is the promoted action, implemented […]

Read More...

Justified Alignment in Android

Alternatively referred to as align or alignment, justify is a term used to describe how text is aligned. For example, text that is justified to the left creates a straight line of text on the left-hand side of the page (like this paragraph). Text can be aligned along the edge of a page, cell, div, […]

Read More...

First Android 5.0 Project

To create an Android 5.0 project, you must install the latest tools and SDK packages. Use the following steps to set up a Android project that targets Android 5.0: Install Android tools 23.0.5 or later as shown below: Also, install the latest Android 5.0 SDK packages (API 21 or later): For more information about using […]

Read More...

ViewStub Example And Use In Android

A ViewStub is a dumb and lightweight view which has no dimension It does not draw anything and does not participate in the layout in any way. This means a ViewStub is very cheap to inflate and very cheap to keep in a view hierarchy. A ViewStub can be best described as a lazy include. […]

Read More...

Include-Merge Example in Android

This example will explain how to reuse the same layouts which is used in many layout files such as the footer used on each screen in many applications. We can do this by using include and merge tags. It basically means that include tag takes that file and paste it’s contents here. The include tag […]

Read More...

Watch Your Text In Android

TextWatcher in Android Example Text Watcher is used to keep a watch on EditText while entering data into it. We can perform operation and keep watch on which characters are being entered or how many characters are being entered in the EditText. You have been seen this many time while entering password for newly created […]

Read More...

Audio Capturing in Android

Before we try to capture the system sound, we do have to find some audio to play, so that we can know we have captured something. Just copy any mp3 file and keep it into memory card. Now Let’s see the android audio system in the graph. We can see here that the lowest level […]

Read More...

Drag and Drop Details and Implementation in Android

Android drag and drop framework allows users to move data from one View to another View in the current layout using a graphical drag and drop gesture. It includes following three important components to support drag & drop functionality: 1.) Drag event class 2.) Drag listeners 3.) Helper methods and classes Drag and Drop Process […]

Read More...
1 6 7 8 9 10 35