Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 11th, 2011  |  syntax: None  |  size: 0.60 KB  |  views: 148  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /****** HelloDroid.java: *******/
  2.  
  3. package at.myxcode.helloandroid;
  4.  
  5. import android.app.Activity;
  6. import android.os.Bundle;
  7.  
  8. public class HelloDroid extends Activity {
  9.  
  10.     public void onCreate(Bundle savedInstanceState) {
  11.         super.onCreate(savedInstanceState);
  12.         setContentView(R.layout.main);
  13.     }
  14. }
  15.  
  16.  
  17. /********* main.xml: *******/
  18.  
  19. <?xml version="1.0" encoding="utf-8"?>
  20. <LinearLayout
  21.   xmlns:android="http://schemas.android.com/apk/res/android"
  22.   android:layout_width="fill_parent"
  23.   android:layout_height="fill_parent"
  24.   android:background="@drawable/bga">
  25. </LinearLayout>