Tuesday, 27 June 2017

Coffee Break Challenge Udacity Android For Beginers finding error in code

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="To Ben"
        android:textSize="24sp"/>
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Happy Birthday"
        android:textSize="34sp"/>
    <ImageView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1" 
        android:src="@drawable/ocean"/>
       
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="From, Lyla"
        android:textSize="24sp"/>
</LinearLayout>    

No comments:

Post a Comment