Download O'Reilly Android Cookbook
Transcript
Figure 1-2. Setting parameters for a new Eclipse project Example 1-3. The XML layout <?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" android:layout_height="fill_parent" android:gravity="center_vertical" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" android:gravity="center_horizontal" /> </LinearLayout> 8 | Chapter 1: Getting Started