Home » Android » core » ui » Page 2

ui

Android Notifications Example

Notification is a message that doesn’t appear inside the main UI of the app but as an icon in the notification area, including more details in the notification drawer. The aim of the notifications is to keep the user informed about events or alerts in a more persistent method, as the user can view them at any time. In this ...

Read More »

Android Drag and Drop Example

The Android System provides Drag and Drop framework, which facilitates users especially to move data from one View to another within the current layout. It is good to mention that many apps take advantage of the graphical drag and drop gesture that the system procures. The framework contains the following three components, which support drag and drop functionality: Drag event ...

Read More »

Android ProgressDialog Example

Progress dialogs are very commonly used components in all User Interfaces, when you want to display the progress of a task that is taking up a lot of time, for example a file or an Image download. In this tutorial will create a ProgressDialog to let the user know the progress and a status of a simulated Image download activity. ...

Read More »

Android ExpandableListview Example

With this tutorial we are going to see how to use Android ExpandableListView. As you might have imagined, ExpandableListView is quite like a ListView but it has 2 levels, one can say. It’s sort of like a menu with sub menus. This is from the official documentation: “A view that shows items in a vertically scrolling two-level list. This differs from the ListView by allowing ...

Read More »

Android HorizontalScrollView Example

In this example we are going to see how to use HorizontalScrollView in an Android Application. The HorizontalScrollView is like a ScrollView but with horizontal orientation. It is very useful because it is not very usefull to scoll up and down the whole screen of you application. You can use a small portions of the screen as HorizontalScrollView with scrolling ...

Read More »

Android Scrollview Example

In this example we are going to see how to use Android ScrollView component. This is a layout container that can host multiple component and views and can is scrollable. For this tutorial, we will use the following tools in a Windows 64-bit platform: JDK 1.7 Eclipse 4.2 Juno Android SDK 4.2   1. Create a new Android Project Open Eclipse ...

Read More »

Android MultiTouch ListView Example

In this example we are going to see how to create MutliTouch ListView in an Android Application. In this example, every Item in the list is clickable, so you can bundle it with a ClickListener,  and it contains two buttons to edit and delete items. For this tutorial, we will use the following tools in a Windows 64-bit platform: JDK ...

Read More »

Android WebView Example

In Android, you can use the WebView component in order to present markup pages from URL or custom html markup page (short of like a browser, but in your own application…). In this tutorial we are going to create an use two Activities. The main Activity will contain a button. When the user presses that button, another activity launches which will contain a ...

Read More »

Android GridView Example

One of the most usefull layouts in Android is the GridView. GridView organizes the items of your screen in a two-dimensional array (a grid…). In this tutorial you are going to see two examples of GridView. In the first part we see the normal use of GridView. In the second part we create our own customized GridView. For this tutorial, ...

Read More »

Android ListView Example

One of the most usefull layouts in Android is the ListView. ListView allows you to arrange your items in a scrollable list. Of course you can customize the list, and you can populate it dynamically in your code. In this tutorial we are going to see how ListView and ListActivity works. This tutorial has two parts. In the first part you are going to see the ...

Read More »