Created
May 20, 2015 20:53
-
Star
(106)
You must be signed in to star a gist -
Fork
(96)
You must be signed in to fork a gist
-
-
Save anonymous/8bb1c5d7e4d3e434fb10 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Text View | |
android:text="Hapy Birthday" | |
android:layout_width="150dp" | |
android:layout_height="150" | |
android:background="@android:color/darker_groy" | |
> |
YibeltalK
commented
Dec 18, 2024
- We should not have a space in the TextView element: <TextView
- A typo: android:text="Happy Birthday"
- No error on line 3: android:layout_width="150dp"
- Missing dp after 150: android:layout_height="150dp"
- Spelling error of dark_gray: android:background="@android:color/dark_gray"
- Missing forwardslash before the closing angle bracket to close the TextView element: />
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 />
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>.
Errors
- There is a space in between the "TextView" keyword.
- The "150" don't have the unit "dp".
- The color "darker_groy" is not recognized as a color.
- There is no closing tag on the last line.
Good to learn more
There is no closing tag on the last line
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