Categories

Archives

Code to show your XML Visual in Android

After posting some layout related xml examples in Android, i realized that there is no example on how to set your xml as your view/presentation layer. Here is the code:
package <yourPackage, example: com.almondmendoza.firstDemo>;
import android.app.Activity;
import android.os.Bundle;

public class Main extends Activity {
/** Called when the activity is first created. */
[...]

Android Containers

Android like other language have containers, these containers hold components together to form the design of your application. Having knowledge in java and in other xml based design, you sometimes what to jump into knowing what the containers and components are.
For the people who don’t have knowledge in flex,xul,wpf or even html, in every [...]