Skip to content

Instantly share code, notes, and snippets.

Created May 20, 2015 20:53
Show Gist options
  • Save anonymous/8bb1c5d7e4d3e434fb10 to your computer and use it in GitHub Desktop.
Save anonymous/8bb1c5d7e4d3e434fb10 to your computer and use it in GitHub Desktop.
<Text View
android:text="Hapy Birthday"
android:layout_width="150dp"
android:layout_height="150"
android:background="@android:color/darker_groy"
>
@Makda0-0
Copy link

Makda0-0 commented Jan 24, 2025

Line 1: TextView should not have space between it.
Line 2: Happy is not spelled correctly. There is no XML syntax error though.
Line 4: dp is missing in 150.
Line5: gray is not spelled right.
Line6: / is missing before>.

@FilimonAlem
Copy link

                                                   Errors
  1. There is a space in between the "TextView" keyword.
  2. The "150" don't have the unit "dp".
  3. The color "darker_groy" is not recognized as a color.
  4. There is no closing tag on the last line.

@xy804
Copy link

xy804 commented Mar 12, 2025

Good to learn more

@xy804
Copy link

xy804 commented Mar 12, 2025

There is no closing tag on the last line

@xy804
Copy link

xy804 commented Mar 12, 2025

there is a space between TextView at the first line 2,there is no dp next to 150 at the fourth line 3,the word at the fifth line and at the final must be gray but it is groy 4,the ending of the tag is like this > but it must be />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment