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

  1. TextView tag must not have space in between.
  2. "dp" is not included for the layout_height value
  3. background color is not well spelt "darker_gray" not "darker_groy"
  4. the closing tag is missing />

@TaranCode
Copy link

  1. TextView tag should be written in camel case without any space.
  2. Height="150dp"dp should be there to avoid the error.
  3. Closing Tag was not there />
  4. Grey spelling was wrong, it may result in error while processing the background colour.

@Pratikraj001
Copy link

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

@sourya1995
Copy link

  1. TextView is a single word for the view tag
  2. Line 3 should contain 150 dp instead of 150
  3. Background colour should be @android:color/darker_gray
  4. XML tag should be closed

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

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