Modify from last exercise , in this post, we will start another activity (MainActivity) after animation of AnimationDrawable. To start anoth...
Your andriod Apps ZOne
Modify from last exercise , in this post, we will start another activity (MainActivity) after animation of AnimationDrawable. To start anoth...
This example show how to detect user gesture by implementing GestureDetector.SimpleOnGestureListener. It have the same result as last exerci...
Previous exercise demonstrate " Bi-direction sliding ViewFlipper " controlled by buttons. This exercise show how to implements Ges...
Last exercise show a Example of ViewFlipper . It always slide from left to right, no matter you click previous or next button. In this exerc...
android.widget.ViewFlipper is a simple ViewAnimator that will animate between two or more views that have been added to it. Only one child ...
android.widget.ViewSwitcher is a sub-class of ViewAnimator , switches between two views, and has a factory from which these views are creat...
A simple example to implement ImageSwitcher. package com.example.androidimageswitcher; import android.os.Bundle; import android.app.Activity...
It is a example to implement ListFragment with multiple choice. Base on my old exercise of " ListFragment ". Modify MyListFragme...
android.widget.TextSwitcher is a specialized ViewSwitcher that contains only children of type TextView. A TextSwitcher is useful to animate ...
android.widget.ViewAnimator is a subclass of FrameLayout container that will perform animations when switching between its views. <Linear...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools...
Recall from the " old exercise of GridView ", loading images to GridView from SD Card in onCreate() method running in main thread....
It's a example to display Spinner in PopupWindow. For simple example of using Android PopupWindow, refer to the post . Create /res/layou...
To make your app with translucent background, apply the following code in your theme. <item name="android:windowIsTranslucent"...
Last example demonstrate a " Simple example of Button and OnClickListener ", with individual OnClickListener for each View. Altern...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools...
To add shadow on TextView using Java code, call setShadowLayer() method. package com.example.androidtextview; import android.os.Bundle; impo...