-
-
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" | |
> |
On the first line, Text View is misspelled, it should be without a space.
In the second line there is a spelling error in the attribute value.
In the fourth line, there is no "dp"
In the fifth line it is misspelled "gray"
Finally, in the last line the "/" sign is missing to close the TextView label
Text View is misspelled
The first error is in the title "Text view".
This should be written together and with the second letter of the word in uppercase: "TextView"
The second error in the code is: ">"
without being closed, like this: "/>"
Great, I really like the course. I think that the way the explained made me recognize easily the lack of slash for ending the View which was not in camel space format and also different misspelled stuffs.
Code is having below errors :
- TextView having space in it.
- layout_height not having dp unit in it.
- Gray spells wrong.
- /> not present in the last.
- 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
- Text View should be: <TextView
- Misspelling of Happy
- android: layout_height="150" is missing dp on 150
- Misspelling darker_gray
- Missing the closing statement /
1.the view name should be in camelcase and do not contain a space in between
4. in value the unit is missing
6. in closing line / is missing
7. 5.attribute value spelling mistake
1.no space between Text and View you should write TextView
2.on the line layout_height you forget dp
3.you should write grey not groy
4.in the last bracket you should add forward slash for end the instruction
- TextView tag must not have space in between.
- "dp" is not included for the layout_height value
- background color is not well spelt "darker_gray" not "darker_groy"
- the closing tag is missing />
- TextView tag should be written in camel case without any space.
- Height="150dp"dp should be there to avoid the error.
- Closing Tag was not there />
- Grey spelling was wrong, it may result in error while processing the background colour.
Line 1 : TextView instead of Text View (must be in camelcase).
Line 4: 150dp instead of 150.
Line 5: spelling mistake of gray (gray instead of groy)
Line 6: closing tag i.e, "/>"
- TextView is a single word for the view tag
- Line 3 should contain 150 dp instead of 150
- Background colour should be @android:color/darker_gray
- XML tag should be closed
"dp" is missing in layout_height
-in attribute android: background it should be "darker_gray"
-closing tag missing
<TextView <--- CamelCase should be used
android:layout_height="150dp" <-- dp must be written
android:background="@android:color/darker_gray" <--- not grOy
/> <-- missing closing tag
->on line 4 it should be 150dp
->TextView should be the element name without space etc
->/ closing bracket missing
->on line 5 the it should be gray inside string for value of last attribute
- on line 4 it should be 150dp
- TextView should be the element name without space etc
- closing bracket missing
- on line 5 the it should be gray inside string for value of last attribute
--the Xml element Text View should not have space in between them (line1)
--closing bracket is missing for TextView(line6)
-- height value should be given 150dp instead of 150(line4)
-- the spelling of grey is wrong groy(line5)
1 - O TextView está escrito de maneira errada, pois há um espaçamento.
2 - Na linha 4 está faltando o "dp" ao lado do "150".
3 - A palavra "Gray" está escrita de maneira errada.
4 - Não teve o fechamento da TAG com o "/>"
In line 1: <Text View should be <TextView
In line 4: "150" should be "150dp"
In line 6: > sloud be />
Corrected:
line 1: TextView, happy
line 4: 150dp
line 6: />
<Text View | Existe un espacio entre ambas palabras, no cumple la consigna "CamelCase".
android:text="Hapy Birthday" | Existe un error ortográfico en la palabra (hapy/happy), pero no altera el funcionamiento del código.
android:layout_width="150dp"
android:layout_height="150" | No tiene asignada la unidad de medida "dp".
android:background="@android:color/darker_groy" | El nombre del color tiene un error ortográfico (groy/gray).
> | El cierre de la etiqueta para el elemento TextView no está escrita de manera correcta, falta el símbolo #slash ("/>").
- TextView
- 150dp
- darker_gray
- />
1-"Text" et "View" doit être colés ===>ligne 1
2-Il manque "/" avnt le ">" pour fermer la balise ===>ligne 6
3-le nom de la couleur c'est "darker_gray" et non "darker_groy" ===>ligne 5
4-la valeur de "layout_height" dit avoir une unité, "dp" par exemple ===>ligne 4
line 4 expected dp
line 5 expected /
line 5 grey not groy
line 1 TextView not Text View
TextView
Missing the closing statement /
TextView not Text View