Android Skills


                                          <?xml version=”1.0” encoding=”utf-8”?>

                                          <LinearLayout
                                          xmlns:android=”http://schemas.android.com
                                          /apk/res/android”
                                            android:orientation=”vertical”
                                            android:layout_width=”fill_parent”
   Java Code                                android:layout_height=”fill_parent”>

                                          <TextView
       Initialize                           android:id=”@+id/myTextView”
    
                                            android:layout_width=”fill_parent”
    @Override
                                            android:layout_height=”wrap_content”
    public void onCreate(Bundle icicle) {
                                            android:text=”Hello World, HelloWorld”
      super.onCreate(icicle);
                                          />
      setContentView(R.layout.screen);
                                          </LinearLayout>
    }
       Access
    
  TextView myTextView =
(TextView)findViewById(R.id.myTextView);