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"
>
@gulshank99
Copy link

"dp" is missing in layout_height
-in attribute android: background it should be "darker_gray"
-closing tag missing

@YuliiaZain
Copy link

YuliiaZain commented Jul 9, 2022

<TextView <--- CamelCase should be used
android:layout_height="150dp" <-- dp must be written
android:background="@android:color/darker_gray" <--- not grOy
/> <-- missing closing tag

@gvjkumar2004
Copy link

->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

@gvjkumar2004
Copy link

  • 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

@vamsgithub
Copy link

--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)

@marcoscjunior
Copy link

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 "/>"

@FOrellanaB
Copy link

FOrellanaB commented Sep 25, 2022

In line 1: <Text View should be <TextView
In line 4: "150" should be "150dp"
In line 6: > sloud be />

@tarunaksha
Copy link

Corrected:
line 1: TextView, happy
line 4: 150dp
line 6: />

@lalaodder
Copy link

<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 ("/>").

@Musongtekoro
Copy link

@AlassaneSylla
Copy link

  1. TextView
  2. 150dp
  3. darker_gray
  4. />

@falloulahi
Copy link

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

@djirotechno
Copy link

line 4 expected dp
line 5 expected /
line 5 grey not groy
line 1 TextView not Text View

@AlibekSerikbayev
Copy link

@SanaDeveloper99
Copy link

TextView

@ruslanmalikov87
Copy link

Missing the closing statement /

@yabulfc
Copy link

yabulfc commented Jul 28, 2024

1.There is no space gap between Text and view
2.on the line 4 the measurement (dp) is missing
3.on the line 5 number there is a spelling error "groy" that need to be grey
4.the code must be closed by /> tag ("/" is missing)

@wingmike
Copy link

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 />

@habtsho
Copy link

habtsho commented Jul 31, 2024

  1. TextView
  2. Happy Birthday

4.150dp
5. android:background="@android:color/darker_gray"
6. close tag missed />

@MIKIYAS-ADDISE
Copy link

Line 1 the attributes must have to write in CamelCase like TextView
Line 4 missing dp
Line 5 miss spelled gray
Line 6 closing tag missed/

@eyuelfrew
Copy link

  1. "Text View": space are not allowed
  2. layout_height should be "150db" not "150"
  3. darker_gray, not darker_groy...spell error
  4. missed "/ " before closing tag

@Abdihusseinn
Copy link

Text View
android:text}"Hapy Birthday"
android:layout_width="150dp"
android:layout_height="150dp"
android:background="@android:color/darker_groy"
>

@ashugh0409
Copy link

  1. TextView should be used instead of Text View in line 1
  2. Happy should be used instead if happy in line 2
  3. Dp is not mentioned in line 4
  4. Groy should be replaced with gray in line 5
  5. There is no forward slash(/) before the closing bracket in line 6

@gudfela
Copy link

gudfela commented Aug 19, 2024

1.TextView
2.Happy
3.dp
4.gray
5.>
All the above are correct answers.**

@AbdalaMire
Copy link

  1. TextView but you wrote it by having space between Text and view
  2. android layout_hight: 150 instead of 150dp
  3. android:color/darker_groy instead of gray
  4. And the last closing tag of TextView

@tesfishdw
Copy link

  1. TextView is written in separate way Text View . But not to be separated
  2. There is spelling error Hapy one p is missing
  3. There is also spelling error groy should be written as gray.

@zsegla
Copy link

zsegla commented Aug 30, 2024

  1. TextView tag should not have space in between.
  2. "dp" is not included for the layout_height value
  3. background color has alphabet error. Should be "darker_gray" not "darker_groy"
  4. The closing tag is missing />

@Tef-SE
Copy link

Tef-SE commented Sep 5, 2024

  1. line 1 Text View tag
  2. Line 4 the value 150 should include "dp"
  3. Line 5 background color spelling error groy, should be "gray"
  4. Line 6 closing tag is missing />

@DHeiar
Copy link

DHeiar commented Sep 8, 2024

@andenazero
Copy link

line 4 no SI value only 150
line 5 parameter pass incorrectly
line 6 closing tag missed

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