Layout XML Code (Cont.)


This application includes two pages:

Next Page     Home Page


HelloWorld/app/src/main/res/layout/activity_next.xml
<LinearLayout
  xmlns:android         = "http://schemas.android.com/apk/res/android"
  android:layout_width  = "match_parent"
  android:layout_height = "match_parent"
  android:orientation   = "vertical"
  android:weightSum     = "1"
  android:gravity       = "center" >
  <TextView
    android:layout_width   = "287dp"
    android:layout_height  = "wrap_content"
    android:textAppearance = "?android:attr/textAppearanceLarge"
    android:id             = "@+id/tvView"
    android:textStyle      = "bold"
    android:layout_weight  = "0.10"
    android:gravity        = "center_horizontal" />
  <Button
    android:layout_width  = "wrap_content"
    android:layout_height = "40dp"
    android:text          = "Home Page"
    android:id            = "@+id/home" />
</LinearLayout>




      A little bird told me (I won’t tell who told me)    
      that it is your wedding anniversary today.