-
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.
<Text View | |
android:text="Hapy Birthday" | |
android:layout_width="150dp" | |
android:layout_height="150" | |
android:background="@android:color/darker_groy" | |
> |
eyuelfrew
commented
Aug 4, 2024
- "Text View": space are not allowed
- layout_height should be "150db" not "150"
- darker_gray, not darker_groy...spell error
- missed "/ " before closing tag
Text View
android:text}"Hapy Birthday"
android:layout_width="150dp"
android:layout_height="150dp"
android:background="@android:color/darker_groy"
>
- TextView should be used instead of Text View in line 1
- Happy should be used instead if happy in line 2
- Dp is not mentioned in line 4
- Groy should be replaced with gray in line 5
- There is no forward slash(/) before the closing bracket in line 6
1.TextView
2.Happy
3.dp
4.gray
5.>
All the above are correct answers.**
- TextView but you wrote it by having space between Text and view
- android layout_hight: 150 instead of 150dp
- android:color/darker_groy instead of gray
- And the last closing tag of TextView
- TextView is written in separate way Text View . But not to be separated
- There is spelling error Hapy one p is missing
- There is also spelling error groy should be written as gray.
- TextView tag should not have space in between.
- "dp" is not included for the layout_height value
- background color has alphabet error. Should be "darker_gray" not "darker_groy"
- The closing tag is missing />
- line 1 Text View tag
- Line 4 the value 150 should include "dp"
- Line 5 background color spelling error groy, should be "gray"
- Line 6 closing tag is missing />
line 4 no SI value only 150
line 5 parameter pass incorrectly
line 6 closing tag missed
Line 4 the value 150 should include "dp"
Line 5 background color spelling error groy, should be "gray"
Line 6 closing tag is missing />
a.line 1 TextView ,space are not allowed
b.layout_height should be "150db" not "150"
c.darker_gray, not darker_groy...spell error
d.missed "/ " before closing tag
TextView tag should not have space in between.
"dp" is not included for the layout_height value
background color has alphabet error. Should be "darker_gray" not "darker_groy"
The closing tag is missing />
1.XML element TextView wont have space in between.
2. Message to display needs correction,just for feeling. ofcourse doesnt generate error
4. must be like 150dp
5. groy must be corrected as gray
6. forwared slash must be there before the angel bracket, like this />
Xml element Text View could not have space in between them line 1
closing bracket is missing for TextView
the word gray is not correct
150 is written without dp
- 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 />