SHARE
TWEET

Untitled

a guest Feb 11th, 2011 165 Never
  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>
RAW Paste Data
Top