1. Download our Official Android App: Forums for Android!

Android code

Discussion in 'Android Help' started by Android Question, Jan 28, 2014.

  1. Android Question

    Thread Starter
    Rank:
    None
    Posts:
    0
    Joined:

    what is wrong with this code
    <Button
    android:id="@+id/button1"
    android:layout_width="500dp"
    android:layout_height="60dp"
    android:layout_alignLeft="@+id/imageView2"
    android:layout_alignParentBottom="true"
    android:layout_marginBottom="62dp"
    android:text="@string/apartmentDetails"
    android:textSize="40sp" />
    - Element type "Button" must be followed by either attribute specifications, ">"
    or "/>".
    - error: Error parsing XML: not well-formed (invalid token)
     

    Advertisement

Share This Page

Loading...