Skip to content

Instantly share code, notes, and snippets.

/sample
Created May 20, 2015

Embed
What would you like to do?
<Text View
android:text="Hapy Birthday"
android:layout_width="150dp"
android:layout_height="150"
android:background="@android:color/darker_groy"
>
@raju249

This comment has been minimized.

Copy link

raju249 commented May 29, 2015

The height has no unit of "dp"
color specification is wrong.
there is no closing tag written properly.
There is space between the Text and the View ,there should not be any space.

@ghost

This comment has been minimized.

Copy link

ghost commented May 30, 2015

A altura não tem nenhuma unidade de "dp"
especificação de cor é errada.
não há nenhuma marca de fechamento escrito corretamente.
Há um espaço entre o texto e o View, não deve haver qualquer espaço.

@hasithaprageeth

This comment has been minimized.

Copy link

hasithaprageeth commented May 31, 2015

XML element name should be TextView
XML tag should be closed with a forward slash
layout_height attribute should be "150dp"
background attribute should be "@android:color/darker_gray"

@faoud

This comment has been minimized.

Copy link

faoud commented Jun 2, 2015

Lets see there is no forward slash to make it a self closing tag including there is no dp by the layout_height attribute, there should be no space between Text and View also the "happy" could be spelled correct lol!!!

@alnour98

This comment has been minimized.

Copy link

alnour98 commented Jun 2, 2015

1- TextView instead of Text View
2- android:layout_height="150dp" instead of android:layout_height="150"
3- android:background="@android:color/darker_gray" instead of android:background="@android:color/darker_groy"
4- closing the tag />
5- Happy instead of hapy but it will not affect the code

@jmtt89

This comment has been minimized.

Copy link

jmtt89 commented Jun 3, 2015

1- Debería ser TextView
2- falto "dp" en el android:layout_height="150"
3-"darker_groy" no es un color valido
4-No esta cerrando el TextView, falta el "/"

@SKY24

This comment has been minimized.

Copy link

SKY24 commented Jun 4, 2015

line1-does not follow camelCase
line2-incorrect grammar
line3-"150dp"
line5-darker_gray
line6- />

@andrewlaw71

This comment has been minimized.

Copy link

andrewlaw71 commented Jun 10, 2015

Line 1 should be <TextView
Line 4 should be "150dp"
Line 5 should be "/darker_gray"
Line 6 should be />

@silverray2020

This comment has been minimized.

Copy link

silverray2020 commented Jun 11, 2015

TextView has a space
layout_height missed "dp"
spelling mistake in "darker_gray"
closing tag is not written properly.

@gulzaar

This comment has been minimized.

Copy link

gulzaar commented Jun 15, 2015

line 1 Not camelcase
line 3 missing dp
color name grey
there is no closing tag written properly.

@Luceafarul

This comment has been minimized.

Copy link

Luceafarul commented Jun 15, 2015

1 line - TextView, not Text View
4 line - missing "dp" after 150
5 line - darker_gray, not darker_groy
6 line - missing / before >

@ghost

This comment has been minimized.

Copy link

ghost commented Jun 27, 2015

They keep telling me to try again :|

@Catherine-Kim

This comment has been minimized.

Copy link

Catherine-Kim commented Jul 28, 2015

missing dp in line 4
missing / closing tag in line 6
wrong color name in line 5
misspelling in TextView in line 1

@kateregga

This comment has been minimized.

Copy link

kateregga commented Jul 29, 2015

@1985michel

This comment has been minimized.

Copy link

1985michel commented Aug 20, 2015

Text View would be TextView
android:layout_height="150" is faulting the "dp"
darker_groy would be darker_gray
Is faulting /> in the end

@mpvkrishnadhar

This comment has been minimized.

Copy link

mpvkrishnadhar commented Aug 23, 2015

  1. Space between the name of the view
  2. there is no forward slash
  3. there is no dp keyword for layout_height
  4. the closing tag is in the next line without the name of the view
  5. The darker_gory is to as darker_gray
@moehandi

This comment has been minimized.

Copy link

moehandi commented Sep 9, 2015

  1. use TextView instead Text View, remove the space between.
  2. missing dp in layout_height="150", use layout_height="150dp"
  3. change "darker_groy" to "darker_grey"
  4. closing the tag />
@Thechnik

This comment has been minimized.

Copy link

Thechnik commented Sep 9, 2015

@akarsh

This comment has been minimized.

Copy link

akarsh commented Sep 11, 2015

  • the dp unit is missing for the attributte "android:layout_height".
  • the single line ending tag not containing '/' before closing tag '>'.
  • there is a space between the XML tag element "TextView".
  • the spelling of gray is wrong for the value in attribute "android:background".
@cksajil

This comment has been minimized.

Copy link

cksajil commented Sep 14, 2015

TextView is written wrong as Text View,
android:layout_height = "150dp",
color should be darker_grey,
closing Tag should be />
Hapy Birthday can be Happy BirthDay

@ShahinMahmud

This comment has been minimized.

Copy link

ShahinMahmud commented Sep 17, 2015

Text view should be together as TextView
The height has no unit of "dp"
color should be darker_grey
closing Tag should be />

@federicofx

This comment has been minimized.

Copy link

federicofx commented Sep 19, 2015

1 - TextView
2 - Happy Birthday
3 - "150dp"
4 - ".../darker_grey"
5 - />

@travisvolta

This comment has been minimized.

Copy link

travisvolta commented Sep 22, 2015

dp is missed for android:layout_height
darker_gray color is misspelled for background
slash is missed for closing tag
Text View should not have space in the middle

@vachan

This comment has been minimized.

Copy link

vachan commented Sep 25, 2015

Text View has a space, must be camel case
android:layout_height does not a dp
Spelling of groy must be gr__a__y
No closing / (*claquk) at the end; before closing angle bracket

@nicosif

This comment has been minimized.

Copy link

nicosif commented Oct 10, 2015

@maheshvshet

This comment has been minimized.

Copy link

maheshvshet commented Oct 10, 2015

  1. <Text View Tag should have been <TextView
  2. Spelling mistake in line android:text="Hapy Birthday" --- Hapy should be changed to Happy
  3. android:layout_height="150" --- unit dp missing while specifying layout_height
  4. android:background="@android:color/darker_groy" -- color should have been darker_gray
  5. The end tag is not closed properly.
@AkshayRoyal

This comment has been minimized.

Copy link

AkshayRoyal commented Oct 11, 2015

In line 1 Camel Case is violated
In line 2 there is some grammar mistake
In line 4 dp is missing
in line 5 groy->gray

@abizita

This comment has been minimized.

Copy link

abizita commented Nov 3, 2015

The TextView is separated
The height does not have " dp " meaning pixels
the color is misspelled .
missing closing tag / >

@engramez

This comment has been minimized.

Copy link

engramez commented Nov 18, 2015

The height has no unit of "dp"
color specification is wrong.
there is no closing tag written properly.
There is space between the Text and the View ,there should not be any space.

@JesusCanales

This comment has been minimized.

Copy link

JesusCanales commented Nov 20, 2015

1- El texto correcto es TextView
2- Faltó especificar la medida de tamaño "dp" en el android:layout_height="150"
3- Está mal escrito el nombre del color "darker_groy" no es un color valido
4- No esta cerrando el TextView, falta el "/". Es esencial en el lenguaje XML

@wilburdonovan

This comment has been minimized.

Copy link

wilburdonovan commented Nov 25, 2015

1- TextView
2- dp
3. />
4- gray

@owususamuel

This comment has been minimized.

Copy link

owususamuel commented Nov 28, 2015

the TextView is separated
there is no dp attached to the height
the spell of gray is incorrect
the code need to be closed

@PhanVanTrung

This comment has been minimized.

Copy link

PhanVanTrung commented Dec 2, 2015

  • no closing tag
  • invalid color value
  • no dimension for layout_height
  • tag name is incorrect
@MehmetCan2

This comment has been minimized.

Copy link

MehmetCan2 commented Dec 25, 2015

Code tag Text View must not have a sepace between words
The height value does not have " dp " meaning resolution independent pixels
the color value "groy" is misspelled
Closing tag of the code "/" is missing

@watthell234

This comment has been minimized.

Copy link

watthell234 commented Dec 29, 2015

Line 1 not CamelCase
Line 2 Although will not give error, best practice no spelling errors "Happy"
Line 4 add "...dp"
Line 5 correct groy to "...gray"
Line close the tag with />

@peterzimt

This comment has been minimized.

Copy link

peterzimt commented Jan 10, 2016

  1. Space
  2. DP
  3. Groy to grey
  4. Close tag
@maliksanchit

This comment has been minimized.

Copy link

maliksanchit commented Jan 10, 2016

  • TextView is written incorrectly
  • Spelling of Happy is incorrect (which syntactically is ok).
  • dp not used for height
  • In color attribute it should be gray not groy
  • TextView not closed correctly.
@ranamahmud

This comment has been minimized.

Copy link

ranamahmud commented Jan 17, 2016

Spelling mistake of Happy word.
layout_height is missing dp suffix.
darker_groy has a spelling mistake.
There is no closing tag.

@arun-raamamurthy

This comment has been minimized.

Copy link

arun-raamamurthy commented Jan 26, 2016

  1. TextView had space
  2. android:layout_height attribute value had unit (dp) missing
  3. android:background attribute had an invalid value (darker_groy)
  4. Self-closing tag was missing
@Tedev555

This comment has been minimized.

Copy link

Tedev555 commented Feb 6, 2016

  1. opening tag TextView should not be any space
  2. layout_height size don't have "dp" unit
  3. self-closing tag should have "/" before ">"
  4. darker_groy is incorrect instead with darker_gray
@flairgithub

This comment has been minimized.

Copy link

flairgithub commented Feb 8, 2016

@ghost

This comment has been minimized.

Copy link

ghost commented Feb 10, 2016

height missing dp
TextView missing correct closing tag
color darker_groy is incorrect
TextView tag is written incorrectly

@glamadrid

This comment has been minimized.

Copy link

glamadrid commented Feb 26, 2016

This is correct:

@skyull

This comment has been minimized.

Copy link

skyull commented Mar 2, 2016

@victorianwobodo

This comment has been minimized.

Copy link

victorianwobodo commented Mar 13, 2016

@MehdiChennoufi

This comment has been minimized.

Copy link

MehdiChennoufi commented Mar 14, 2016

=> TextView
=> android:layout_height="150dp"
=> android:background="@android:color/darker_gray"
=> /> at the end line

@leonbsusa

This comment has been minimized.

Copy link

leonbsusa commented Mar 21, 2016

The XML element name should be "TextView";
The XML should be closed with a forward slash "/>";
The attribute name "layout_height" should be "150dp";
The attribute name "android:background" should "@android:color/darker_gray".

@LakshayNagpal

This comment has been minimized.

Copy link

LakshayNagpal commented Mar 21, 2016

XML element incorrectly written - not following camelcase - "TextView"
The attribute value should be "150dp"
The attribute value should mentioned correct color name - "darker_gray"
The XML element should end with a slash "/>"

@uchuneno

This comment has been minimized.

Copy link

uchuneno commented Apr 2, 2016

XML element should be TextView
The attribute value should be 150dp
The name of color should be darker_gray
The xml element should end with />

@Komahoma

This comment has been minimized.

Copy link

Komahoma commented Apr 3, 2016

Errors:

  1. Text Viev instead of TextView
  2. Incorrect value in android:layout_height. It should be 150dp insted od 150
  3. Incorrect color name. It should be "@android:color/darker_gray"
  4. There is no "/>" at the end of the code block. We might find there only ">"
@Hafiben

This comment has been minimized.

Copy link

Hafiben commented Apr 16, 2016

AngleBracketTextView
android:text="Hapy Birthday"
android:layout_width="150dp"
android:layout_height="150dp"
android:background="@android:color/darker_gray"
/>

@sansoeng

This comment has been minimized.

Copy link

sansoeng commented Apr 20, 2016

AngleBracketTextView
android:text="Hapy Birthday"
android:layout_width="150dp"
android:layout_height="150dp"
android:background="@android:color/darker_gray"
/>

@Akash-Preet

This comment has been minimized.

Copy link

Akash-Preet commented Apr 23, 2016

@abitajava

This comment has been minimized.

Copy link

abitajava commented Apr 25, 2016

@igor-yalta

This comment has been minimized.

Copy link

igor-yalta commented May 8, 2016

Line 1: Tag Text is not a supported opening tag.
The attribute android:layout_height does not support the value 150
The color @android:color/darker_groy is not supported
The tag TextView should be self-closing. This means it should end with />

@Jetjacky

This comment has been minimized.

Copy link

Jetjacky commented May 14, 2016

No space in TextView, you must place the unit of measurement dp in your android:layout_height=“150dp”, and you mispelled grey for groy

@aghdassi

This comment has been minimized.

Copy link

aghdassi commented May 15, 2016

  • Line 1: Text View should be TextView
  • Line 4: 150 should be 150dp
  • Line 5: darker_groy should be darker_gray
  • Line 6: > should be />
@moizsajid

This comment has been minimized.

Copy link

moizsajid commented May 23, 2016

  • The name of the tag should be TextView instead of Text View (there should be no space between a tag name)
  • The unit for the android:layout_height is missing. 150dp should be specified as the value for android:layout_height
  • The color value is not defined. It should be darker_gray instead of darker_groy
  • The tag should be closed as /> instead of >
@newtonrd

This comment has been minimized.

Copy link

newtonrd commented May 29, 2016

  • Should be TextView instead of Text View
  • The TextView tag is not closed
  • Groy should be gray
  • Layout_height needs dp units
@PrinceDavis

This comment has been minimized.

Copy link

PrinceDavis commented Jun 16, 2016

  1. the xml element TextView was not had a space in it.
  2. The element was not self closed
  3. The layout_height attribute value does not have a unit like dp or px
  4. darker_groy color is not a recognized color by android
@jacosmuts

This comment has been minimized.

Copy link

jacosmuts commented Jun 24, 2016

@khanhhoangadt

This comment has been minimized.

Copy link

khanhhoangadt commented Jun 26, 2016

Line 1 : Text View -> TextView
Line 4 : "150" -> "150dp"
Line 5 : "@android:color/darker_groy"-> "@android:color/darker/gray"
line 6 : > -> />

@PrincePascal

This comment has been minimized.

Copy link

PrincePascal commented Jun 26, 2016

The View should not spaced.
The height has no unit of "dp"
color specification is wrong.
there is no closing tag written properly

@miked99

This comment has been minimized.

Copy link

miked99 commented Jun 28, 2016

Space between Text and View
Hapy is Happy
Missing dp
darker_groy is darker_gray
Missing / at closing tag

@OmarAlbelbaisy

This comment has been minimized.

Copy link

OmarAlbelbaisy commented Jun 29, 2016

Space between Text and View is wrong
groy should be gray
dp is missing in layout_height attribute value
"/" is missing from the closing bracket

@ghost

This comment has been minimized.

Copy link

ghost commented Jun 29, 2016

Line 1: should be TextView
Line 4: 150dp
Line 5: dark_gray
Line 6: needs closing "/"

@Saboor-14

This comment has been minimized.

Copy link

Saboor-14 commented Jun 29, 2016

The name of the tag should be TextView instead of Text View (there should be no space between a tag name)
The unit for the android:layout_height is missing. 150dp should be specified as the value for android:layout_height
The color value is not defined. It should be darker_gray instead of darker_groy
The tag should be closed as /> instead of >

@samaxwiz0270

This comment has been minimized.

Copy link

samaxwiz0270 commented Jul 1, 2016

@santu369

This comment has been minimized.

Copy link

santu369 commented Jul 3, 2016

No space in between Text and View(TextView)
No specification of dp (150dp) in width attribute
Spelling mistake while specifying color (groy-gray)
Missing slash(/) at end of TextView

@sandeshdamkondwar

This comment has been minimized.

Copy link

sandeshdamkondwar commented Jul 4, 2016

Space between Text & View should not be there
Missing closing slash for TextView
Missing units for layout width
Typo in color

@faaezahmd

This comment has been minimized.

Copy link

faaezahmd commented Jul 4, 2016

there should be no space between "Text" and "View".
forward slash missing before ">" sign
Its gray not groy.
and "dp" after 150 in layout_height

@santoshempire

This comment has been minimized.

Copy link

santoshempire commented Jul 12, 2016

इस्पेस हटाउने TextView
Happy स्पेल्लिंग चेक्क गर्ने
लाइन ४ मा १५० dp लेख्ने
grey हो groy हैन
लास्ट मा / ले चलोस् गर्ने

For Nepali People.

@JPWORLD

This comment has been minimized.

Copy link

JPWORLD commented Jul 13, 2016

space between Text and View : should be TextView
layout_height should be in dp
background color name is not correct : should be darker_gray
closing tag is wrong should be />

@josegallo

This comment has been minimized.

Copy link

josegallo commented Jul 18, 2016

Line 4, value doesn't specify dp
Line 6, it need />
Line 1, it should use CamelCase text
Line 5, the correct value is "@android:color/darker_gray"

@JosueCeballo

This comment has been minimized.

Copy link

JosueCeballo commented Jul 20, 2016

  1. No Camel Case
  2. tag is not closed. Missing /
  3. misspelled color gray
  4. Height is not defined in terms of dp
@monterolebronhg

This comment has been minimized.

Copy link

monterolebronhg commented Jul 28, 2016

  1. space in XML tag
  2. tag is not closed
  3. mispelled color gray
  4. height doesn't have the units (dp)
@tian-chaiyaporn

This comment has been minimized.

Copy link

tian-chaiyaporn commented Jul 29, 2016

no forward slash at the end,
darker_gray - o instead of a
TextView should not have space
height do not have dp as unit for attribute value

@donnisoft

This comment has been minimized.

Copy link

donnisoft commented Aug 4, 2016

  1. The name of the Element should be TextView without space
  2. Value of attribute android:layout_height should be use "dp"
  3. Value of android:background should be darker_gray
  4. The self enclosing tag should />
@fajriworkshop

This comment has been minimized.

Copy link

fajriworkshop commented Aug 5, 2016

1.Element name should be TextView
2.android:layout_height the value should be"150dp"
3.The value of android:background should be "@android:color/darker_gray"
4.self enclosing tag need forward slash(/)

@navid-kalaei

This comment has been minimized.

Copy link

navid-kalaei commented Aug 9, 2016

Text View -> TextView
android:layout_height="150" -> android:layout_height="150dp"
android:background="@android:color/darker_groy" -> android:background="@android:color/darker_gray"

-> />

@kayvee83

This comment has been minimized.

Copy link

kayvee83 commented Aug 15, 2016

TextView should not have any space
Height value should have dp suffixed
Background color to be darker_gray
End of xml element to have forward slash before >

@arjava

This comment has been minimized.

Copy link

arjava commented Aug 17, 2016

1.tag Text View supposed TextView
4.nilai of layout should 150dp width attribute (to be given dp)
5.nilai of attributes darker_gray background should not darker_groy
6. The closing tag ">" should "/>"

@Luana-Menezes

This comment has been minimized.

Copy link

Luana-Menezes commented Aug 21, 2016

The correct code is:

<TextView
    android:text="Hapy Birthday"
    android:layout_width="150dp"
    android:layout_height="150dp"
    android:background="@android:color/darker_gray"
/>
@ak7886

This comment has been minimized.

Copy link

ak7886 commented Aug 22, 2016

1.The tag is not closed
2.Height was not given dp
3.The color is not supported by android
4.TextView is not in CamelCase

@mahmayar

This comment has been minimized.

Copy link

mahmayar commented Aug 23, 2016

  1. Text View must be TextView
  2. missing forward slash in the self closing tag
  3. gray not groy
  4. missing the unit of measurement of layout_height which is dp
@ghost

This comment has been minimized.

Copy link

ghost commented Aug 23, 2016

The correct answer:

<TextView
android:text="Happy Birthday"
android:layout_width="150dp"
android:layout_height="150dp"
android:background="@android:color/darker_gray"/>
@mayankgupta804

This comment has been minimized.

Copy link

mayankgupta804 commented Aug 23, 2016

  1. There should be no space between "Text" and "View".
  2. "Happy" in "Happy Birthday" is not written correctly.
  3. The self-closing backslash is missing.
  4. "dp" is not mentioned by the numeric value in layout_height.
  5. The spelling of gray is incorrect.
@rs414057

This comment has been minimized.

Copy link

rs414057 commented Sep 1, 2016

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

Naming convention of view is violated:it should be in camlecase:like TextView
The value of attribute height is wrong given:it should be 150dp
The value of background color should be :darker_gray
Last the XML closing trag is to be corrected with />

@MarekKoszalka

This comment has been minimized.

Copy link

MarekKoszalka commented Sep 2, 2016

Should i leave here a comment to pass a quiz or what ?

@GeekandRoot

This comment has been minimized.

Copy link

GeekandRoot commented Sep 7, 2016

@NehaJeevan

This comment has been minimized.

Copy link

NehaJeevan commented Sep 12, 2016

  1. TextView in CamelCase
  2. For the View to be self-closing, /> should be used at the end.
  3. Height should be in dp that is density pixels
  4. Incorrect spelling. It should be darker_gray.
@falcettijr

This comment has been minimized.

Copy link

falcettijr commented Sep 16, 2016

Espaço entre o TextView,
está faltando uma barra no final do fechamento do código,
faltando dp na linha 3,
darker_gray escrito incorretamente

@falcettijr

This comment has been minimized.

Copy link

falcettijr commented Sep 16, 2016

O correto seria:

@MohanadSinan

This comment has been minimized.

Copy link

MohanadSinan commented Sep 18, 2016

<TextView
android:text="Happy Birthday"
android:layout_width="150dp"
android:layout_height="150dp"
android:background="@android:color/darker_gray"
/>

@nicolasfig

This comment has been minimized.

Copy link

nicolasfig commented Sep 24, 2016

TextView
Happy
150dp in layout_height
darker_gray instead of darker_groy
the closing />

@samrawat60

This comment has been minimized.

Copy link

samrawat60 commented Sep 28, 2016

Line 1 TextView has a space
Line 4 layout_height missed "dp"
Line 5 spelling mistake in color name "darker/gray"
Line 6 there is no closing tag written properly />

@oaa97181

This comment has been minimized.

Copy link

oaa97181 commented Sep 29, 2016

*TextView
*dp

  • />
    *gray
@harshitju

This comment has been minimized.

Copy link

harshitju commented Oct 16, 2016

@Comapss

This comment has been minimized.

Copy link

Comapss commented Oct 18, 2016

space between "Text and View",Missing "dp" after "layout_height="150",incorrect spelling gray, missing slash in the end, incorrect spelling happy.

@arynecabatan

This comment has been minimized.

Copy link

arynecabatan commented Nov 13, 2016

  1. The View is not in Camel Case
  2. The attribute layout_height has no unit of "dp"
  3. No slash at line 6. it isnt close tag
  4. The value in attribute background is mispelled
    Though not compulsary, the text value, "Happy birthday" is mispelled to
@srinivasgpc

This comment has been minimized.

Copy link

srinivasgpc commented Nov 28, 2016

attribute name should be camel case.
layout height should be with correct units
color gray spelling should be change
command ends with closing tag

@sasi433

This comment has been minimized.

Copy link

sasi433 commented Nov 29, 2016

  • View name does not follow camel case.
  • Wrongly spelt backgroung color : 'groy'.
  • Didn't mention units for layout_height.
  • Closing of the tag is not done. If it is a self closing tag then '/>' in the last line. If you want to keep a seperate closing tag then ''.
@Xoulidakos

This comment has been minimized.

Copy link

Xoulidakos commented Nov 29, 2016

@salman-bhai

This comment has been minimized.

Copy link

salman-bhai commented Dec 1, 2016

The following errors are present:
Line 1 : <Text View -> It should be <TextView
Line 4: android:layout_height="150" It should be android:layout_height="150dp"
Line 5 android:background="@android:color/darker_groy" It should be android:background="@android:color/darker_gray"
Line 6: > It should be />

@ZerocoolVishal

This comment has been minimized.

Copy link

ZerocoolVishal commented Dec 3, 2016

correct code

<TextView
    android:text="Hapy Birthday"
    android:layout_width="150dp"
    android:layout_height="150dp"
    android:background="@android:color/darker_gray"/>
@AmitKKhanchandani

This comment has been minimized.

Copy link

AmitKKhanchandani commented Dec 6, 2016

The Correct Code

<TextView
    android:text="Hapy Birthday"
    android:layout_width="150dp"
    android:layout_height="150dp"
    android:background="@android:color/darker_grey"
    />

Mistakes in Original Code
Text View => TextView (no space)
layout_height no dp was missing
background color shoud be grey not groy
and / was missing in the closing tag ( This is self closing tag)

@ARAVINDBALAN

This comment has been minimized.

Copy link

ARAVINDBALAN commented Dec 9, 2016

in line 1 there is space b/w Text and View
in line 4 the value has no unit eg:"dp"
in line 5 the spelling of darker_gray is wrog
in line 6 the is no backslash to close the tag

the correct code is

@ArunArunArun

This comment has been minimized.

Copy link

ArunArunArun commented Dec 9, 2016

@ArunArunArun

This comment has been minimized.

Copy link

ArunArunArun commented Dec 9, 2016

this is correct or not???

@techtocore

This comment has been minimized.

Copy link

techtocore commented Dec 17, 2016

The height has no unit of "dp"
Color specification is wrong.
There is no closing tag written properly.
There is space between the Text and the View. It should be in camel case.

@JuBinAyoob

This comment has been minimized.

Copy link

JuBinAyoob commented Dec 17, 2016

on line 1:- TextView, not Text View
on line 4:- missing "dp" after 150
on line 5:- darker_gray, not darker_groy
on line 6:- missing / before >

@TaufiqueSekh

This comment has been minimized.

Copy link

TaufiqueSekh commented Dec 24, 2016

@aviralsharma021

This comment has been minimized.

Copy link

aviralsharma021 commented Dec 25, 2016

line 1 does not follow camel case+ it should be TextView not Text View
line 4: the attribute value doe not have the unit dp
line 5: the attribute value is not present in the library, it should be @android:color/darker_gray
line : does not have / before >

@aviralsharma021

This comment has been minimized.

Copy link

aviralsharma021 commented Dec 26, 2016

line 1 does not follow camel case+ it should be TextView not Text View
line 4: the attribute value doe not have the unit dp
line 5: the attribute value is not present in the library, it should be @android:color/darker_gray
line : does not have / before >

@csaurabh08

This comment has been minimized.

Copy link

csaurabh08 commented Dec 26, 2016

XML element is not in camel case
attribute-> android:layout_height does not have dp as units
line 6 does not have / before
spelling of gray is wrongly written as groy

@prabhu15bgp

This comment has been minimized.

Copy link

prabhu15bgp commented Dec 26, 2016

line 1 does not follow camel case, it should be TextView not Text View
line 4: the attribute value do not have the unit dp
line 5: the attribute value is not present in the library, it should be @android:color/darker_gray not @android:color/darker_groy
line 6: does not have / before > end of view

@Megascops

This comment has been minimized.

Copy link

Megascops commented Jan 7, 2017

TextView is incorrectly writen because it has a space in between the words. There is a "dp" lacking in the value of "android:layout_height". The color specification "darker_groy" is incorrect. There is forward slash in the closing tag.

@suggsbd

This comment has been minimized.

Copy link

suggsbd commented Jan 10, 2017

Text View should be TextView
Hapy should be Happy
"150" should be "150dp"
groy should be grey

@gitNavV

This comment has been minimized.

Copy link

gitNavV commented Jan 10, 2017

1.Line 4 did'nt contain the dp at the end of layout_height value.
2.The TextView tag was not closed properly i.e. it did'nt contain the slash before closing angular bracket.
3.The background color name was'nt properly spelled.
4.The view name was not properly spelled.

I found all the 4 errors.

@chahat96

This comment has been minimized.

Copy link

chahat96 commented Jan 10, 2017

Space Between Text View
dp missing
darker_gray is correct color
closing tag not found

@mahesh-biswas

This comment has been minimized.

Copy link

mahesh-biswas commented Jan 12, 2017

There should be no space between Text and View.
It should be Tex

@mahesh-biswas

This comment has been minimized.

Copy link

mahesh-biswas commented Jan 12, 2017

1)There should be no space between Text and View.
It should be TextView
2)The unit in height is missing
It should be 150dp
3)the color should be darker_gray.

@mahesh-biswas

This comment has been minimized.

Copy link

mahesh-biswas commented Jan 12, 2017

  1. closing tag is missing
@ghost

This comment has been minimized.

Copy link

ghost commented Jan 12, 2017

  1. It has to be "TextView" without the gap
  2. Instead of "groy" the color is "gray"
  3. Line 4: The unit "dp" to set the height is missing
  4. There is no correct closing tag
  5. (Hapy should be changed to Happy)
@hennasingh

This comment has been minimized.

Copy link

hennasingh commented Jan 12, 2017

there should be no space between TextView
There should be a forward slash before closing angle bracket
the unit of layout height should be mentioned- 150 dp
the spellings of gray color

@corsaque

This comment has been minimized.

Copy link

corsaque commented Jan 12, 2017

Correct one, but don't let me go to the next steps.
---TextView <-- not: Text View
android:text="Happy Birthday" <-- grammar
android:layout_width="150dp"
android:layout_height="150dp" <-- missing dp
android:background="@android:color/darker_gray" <-- spelling

closign tag with "/>"

@kakurma

This comment has been minimized.

Copy link

kakurma commented Jan 12, 2017

Correct code is: below (there are 4 errors)

@TarikMesanovic

This comment has been minimized.

Copy link

TarikMesanovic commented Jan 12, 2017

  1. TextView not Text View
  2. Height with dp, "150dp"
  3. Background color is darker_gray not darker_groy
  4. At the end is / missing before >
  5. Happy Birthday should be correctly written but that will not cause an error
@ghost

This comment has been minimized.

Copy link

ghost commented Jan 12, 2017

  1. Changed Text View to TextView in line 1.
  2. Changed 150 to 150dp in line 4.
  3. Changed groy to gray in line 5.
  4. Changed > to /> in line 6.
@dburgosp

This comment has been minimized.

Copy link

dburgosp commented Jan 12, 2017

The name TextView was separated in two words, not in CamelCase format.
The attribute android:layout_height had a value of "150" instead of "150dp".
The value of the attribute was typed "@android:color/darker_groy" instead or "@android:color/darker_gray".
The closing tag was wrong typed. "/" was missing.

I didn't notice the typo in "Hapy Birthday" :P

@otacke

This comment has been minimized.

Copy link

otacke commented Jan 12, 2017

#Line 1
Line 1: Tag Text is not a supported opening tag.
<Text View should be <TextView

#Line 2
Spelling error, not a syntax error.
android:text="Hapy Birthday" should be android:text="Happy Birthday"

#Line 3
OK

#Line 4
The attribute android:layout_height does not support the value 150 (Line 4)
android:layout_height="150" should be android:layout_height="150dp"

#line 5
The color @android:color/darker_groy is not supported. Did you type it incorrectly?
android:background="@android:color/darker_groy" should be android:background="@android:color/darker_gray"

#Line 6
The tag TextView should be self-closing. This means it should end with /> .
> should be />

@metteole

This comment has been minimized.

Copy link

metteole commented Jan 12, 2017

Syntax errors:

  1. TextView should be camel case without space
  2. Missing "dp" after 150 in height
  3. Misspelled gray as groy
  4. Missing forwardslash so the tag is closed

Other errors:
Happy is spelled incorrecly and missing an "h"

@jarekmickiewicz

This comment has been minimized.

Copy link

jarekmickiewicz commented Jan 12, 2017

TextView with space between words
lack of 'dp' in height
typo in background color 'groy'
lack of closing bracket

@hellene1up

This comment has been minimized.

Copy link

hellene1up commented Jan 12, 2017

TextView element has a space
android:layout_height is missing 'dp'
gray is misspelled
forward slash is missing from closing tag

@Dinusor

This comment has been minimized.

Copy link

Dinusor commented Jan 12, 2017

Problems:

  1. The name of the view i wrong. Correct TextView (no spaces)
  2. The value for the attribute android:layout_height is not correct, the dp was missing
  3. The value for the attribute android:color was spelled wrong: groy instead of gray
  4. The closing tag is not correct, the sign / is missing
@Patrascu-Andrei

This comment has been minimized.

Copy link

Patrascu-Andrei commented Jan 13, 2017

1.The name of the view is not right.
2.The height attribute has missing the dp.
3.The color attribute has a typo groy instead of gray.
4. No / before >.

@Dampas

This comment has been minimized.

Copy link

Dampas commented Jan 13, 2017

  1. line - name of the view should be "TextView"
  2. line - value missing "dp"
  3. line - color is misspelled, it should be "gray"
  4. line - not code error, but grammatical. It should be "Happy Birthday!"
@Dampas

This comment has been minimized.

Copy link

Dampas commented Jan 13, 2017

And now I have forget on the closing bracket! :)

@tbsvttr

This comment has been minimized.

Copy link

tbsvttr commented Jan 13, 2017

  • TextView, not Text View
  • 150dp, not 150
  • darker_gray, not darker_groy
  • />, not >
@InfiniteLoop16

This comment has been minimized.

Copy link

InfiniteLoop16 commented Jan 13, 2017

There is no '/' at the end of the tag.
The layout_height is missing the 'dp' suffix.
I think the color specification is mis-spelled, it says 'groy' i imagine it should say 'gray'.
The XML element Text View is incorrect. it should be TextView.

@nikolakandic

This comment has been minimized.

Copy link

nikolakandic commented Jan 13, 2017

Text View should be TextView.
There is no DP in the height quotes.
darker_groy is probably not a color, so the computer does not recognize it.
There is no slash to close the tag.

@IsabelManiega

This comment has been minimized.

Copy link

IsabelManiega commented Jan 13, 2017

TextView not text View
android:layout_height="150dp" not android:layout_height="150"
android:background="@android:color/darker_gray" not android:background="@android:color/darker_groy"
/> not >

@davidmartinezanim

This comment has been minimized.

Copy link

davidmartinezanim commented Jan 13, 2017

Blocking errors

The following are errors/issues that would prevent the view to display properly:

  • The tag name should be TextView instead of Text View.
  • The attribute android:layout_height has a value of 150 and it should be 150dp.
  • The color specified for the attribute android:background is misspelled. It should be @android:color/darker_gray instead of @android:color/darker_groy.
  • The TextView tag is missing the forward slash before >. Because of that it fails to act as a self closing tag.

Bonus: Non-Blocking Issues

The following error/issue would not prevent the view to display properly but it would be worth fixing it before it's used in production.

  • The value of the android:text attribute is misspelled. It should be Happy Birthday instead of Hapy birthday.
@swagg1n

This comment has been minimized.

Copy link

swagg1n commented Jan 13, 2017

"darker_gray" not "darker_groy" at line 5;
"150dp" not "150", "dp" was missing at the end of line 4;
"TextView" not "Text View", get rid of the white space to achieve camel font at line 1;
Lastly, at line 6 (the last line), the code missed the forward slash to close the tag;
After fixing these 4 errors, I was able to get the intended TextView.

@MargaretOve

This comment has been minimized.

Copy link

MargaretOve commented Jan 14, 2017

1.Text and View have a space between them
2.layout_height has the value 150 , it should be 150 dp
3.line 5: it should be darker_gray instead of darker_groy
4.the end tag is missing the /

@lordvorath

This comment has been minimized.

Copy link

lordvorath commented Jan 14, 2017

  • the closing tag is missing the / (slash)
  • darker_groy is not a color, it should be darker_gray
  • Text View should not have a space in between
  • The attribute of android:layout_height is missing the "dp" unit of measurement
@grazianon

This comment has been minimized.

Copy link

grazianon commented Jan 14, 2017

  1. Text View should be written without spaces in between TextView
  2. The tag TextView should be self-closing with />
  3. "darker_groy" is not a valid color. It should be "@android:color/darker_gray"
  4. The android:layout_height attribute should include the "dp" at the end i.e. "150dp"
@andreeasky

This comment has been minimized.

Copy link

andreeasky commented Jan 14, 2017

Error 1: <Text View is written with a space between Text and View instead of the correct one, with no space between them: <TextView
Error 2: android:layout_height="150" doesn't have dp after 150 - the correct one is: android:layout_height="150dp"
Error 3: The color @android:color/darker_groy is not supported. The right color is @android:color/darker_gray
Error 4: The closing of the tag is not done. The tag should be closed with: />

@jensgreiner

This comment has been minimized.

Copy link

jensgreiner commented Jan 14, 2017

  1. <Text View should be written without the space like <TextView
  2. Tag <TextView needs an auto closing tag at the end like />
  3. The value of attribute android:layout_height= has to be "150dp"
  4. The value of attribute android:background= was misspelled and has to be "@android:color/darker_gray"
@ilovewine

This comment has been minimized.

Copy link

ilovewine commented Jan 14, 2017

  1. Text View -> TextView
  2. "150" -> "150dp"
  3. "[...]/darker_gray" not groy
  4. />
@AnastasiaNtr

This comment has been minimized.

Copy link

AnastasiaNtr commented Jan 14, 2017

  1. Text view should be written in camel case TextView
  2. layout height should be "150dp"
  3. the color is darker_gray
  4. we need ot have a self-closing tag in the end />
@ghost

This comment has been minimized.

Copy link

ghost commented Jan 14, 2017

Text view should be written as the following TextView
layout height should be "150dp"
the color is darker_gray
self-closing tag in the end /

@MarcellaWoW

This comment has been minimized.

Copy link

MarcellaWoW commented Jan 15, 2017

  1. the space between Text View is an error. The solution of this is to write TextView
  2. the layout_height should be "150dp"
  3. the colour should be darker_gray
  4. there isn't the forward slash before the closing angle bracket
    Another error is Hapy with just a p. It should be Happy. :o)
@GuidoCasati

This comment has been minimized.

Copy link

GuidoCasati commented Jan 15, 2017

  • element name incorrect: TextView
  • layout_height missing dp in the attribute: "150dp"
  • color: darker_gray
  • closing tag is wrong: />
@modiced

This comment has been minimized.

Copy link

modiced commented Jan 15, 2017

  1. no closing tag
  2. Mispellings: "Hapy", "_groy"
  3. Size value missed: dp
  4. Space between words instead of CamelCase: Text View
@iamyogibare

This comment has been minimized.

Copy link

iamyogibare commented Jan 15, 2017

  1. The attribute name included a space
  2. Layout height was missing the dp declaration
  3. In background gray was spelled groy
  4. It wasn't a self-closing tag
@neliamx4

This comment has been minimized.

Copy link

neliamx4 commented Jan 15, 2017

  1. TextView instead of Text View,
  2. 150 dp instaed of 150
  3. self-closing tag
  4. gray instead of groy
@carlosenock

This comment has been minimized.

Copy link

carlosenock commented Jan 17, 2017

  1. Space on tag name
  2. No slash on the tag close
  3. Missing "dp" on the value in line 4
  4. Color name in line 5 was typed incorrectly
@kstampo

This comment has been minimized.

Copy link

kstampo commented Jan 17, 2017

  1. <Text View should be <TextView
  2. android:layout_height="150" should be android:layout_height="150dp"
  3. android:background="@android:color/darker_groy" should be android:background="@android:color/darker_grey"
  4. Closing tag > should be />
  5. Not really error: Hapy should be Happy!!!
@neaj10

This comment has been minimized.

Copy link

neaj10 commented Jan 18, 2017

  1. There should be no space in between Text and View - instead of Text View it should be TextView
  2. android:layout_height="150" should be "150dp"
  3. android:background="@android:color/darker_groy" should be darker_gray not groy
  4. Missing the / for the self-closing tag - should be /> on line6
@tammuura

This comment has been minimized.

Copy link

tammuura commented Jan 18, 2017

1 TextView not Text View
4 150dp not 150
5 gray not groy
6 /> not >

@VosMatthias

This comment has been minimized.

Copy link

VosMatthias commented Jan 18, 2017

  1. The TextView tag is not written in CamelCase, there should not be a space in between.
  2. The height attribute value is "150dp", not "150".
  3. The background attribute value has a word miswritten, it has to be "gray" instead of "groy".
  4. The TextView tag is not ended correctly, it is missing a "/".
@Hvanderdeijl

This comment has been minimized.

Copy link

Hvanderdeijl commented Jan 18, 2017

  1. Happy birthday missed a 'p'
  2. "Text View" needs to be "TextView"
  3. Layout_height missed the 'dp'
  4. The closing bracket missed a dash. It was ">" and needs to be "/>"
@90047872j

This comment has been minimized.

Copy link

90047872j commented Jan 19, 2017

Line 1: The XML element TextView is written wrong.
Line 2: The android:text value "Happy Birthday" is misspelled.
Line 4 : android:layout_height value "150", the unit of unit of measurement is missing (dp).
Line 5: The android:background value "@android:color/darker_gray" is misspelled.
Line 6: The tag TextView has to end with />.

@UlviShukurzade

This comment has been minimized.

Copy link

UlviShukurzade commented Jan 20, 2017

tag name should be TextView,
android:layout_height value should be equal to 150dp,
darker_gray,
slash

@h3x-croco

This comment has been minimized.

Copy link

h3x-croco commented Jan 20, 2017

Line 1: Text and View should be together -> TextView;
Line 4: no units for height
Line 5 wrong color;
Line 6: no slash

@saretta93

This comment has been minimized.

Copy link

saretta93 commented Jan 23, 2017

Line 1: The XML element TextView is written wrong.
Line 2: The android:text value "Happy Birthday" is misspelled.
Line 4 : android:layout_height value "150", the unit of unit of measurement is missing (dp).
Line 5: The android:background value "@android:color/darker_gray" is misspelled.
Line 6: The tag TextView has to end with />.

@germcauley

This comment has been minimized.

Copy link

germcauley commented Jan 23, 2017

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

Line1: Text View should be TextView
Line:4 height should be in dp
Line:5 @android:color/darker_groy should be @android:color/darker_gray
Line:6 Closing tag />

@Fedor98

This comment has been minimized.

Copy link

Fedor98 commented Jan 25, 2017

  1. Line 1: TextView is correct, Text View is not
  2. Line 4: dp is missing
  3. Line 5: color must be darker_gray
  4. Line 6: / is missing in front of > (can/should be put at the end of Line 5)
@valbher

This comment has been minimized.

Copy link

valbher commented Jan 27, 2017

At line 1 the TextView name is separated, that´s not correct. the correct way is: <TextView.
At line 2 we jast gotta a grammer error: "Hapy" It should be written "Happy".
At line 4 we gotta an error, the layout_height="150" should be written layout_height="150dp"
At line the color atribute must be written gray
And finally at last line we have closing the tag adding />

@JorgeRibeiroGomes

This comment has been minimized.

Copy link

JorgeRibeiroGomes commented Jan 30, 2017

In line 1 is TextView
In line 4 is missing dp
In line 5 is gray
In line 6 is needed to close tag with />

@pedroreyero

This comment has been minimized.

Copy link

pedroreyero commented Feb 1, 2017

  • TextView was written sepparately instead of altogether
  • The tag wasn't correctly closed (/ symbol was missing)
  • android:layout_height's value lacked the dp unit
  • android:background's value was misspelled (it should be "@android:color/darker_gray")
@tetigo

This comment has been minimized.

Copy link

tetigo commented Feb 1, 2017

<Text View is wrong should be <TextView without the space between words
android:layout_height="150" dp is missing with 150
android:background="@android:color/darker_groy" groy should be grey
the ending tag is wrong, it must be />

@Vaseemhilal

This comment has been minimized.

Copy link

Vaseemhilal commented Feb 2, 2017

Line 1: TextView is correct, Text View is not
Line 4: dp is missing
Line 5: color must be darker_gray
Line 6: / is missing in front of >

@mdwasim3

This comment has been minimized.

Copy link

mdwasim3 commented Feb 3, 2017

original error | fixes
|
<Text View | <TextView
android:background="@android:color/darker_groy" | android:background="@android:color/darker_gray"
android:layout_height="150" | android:layout_height="150dp"

                                                                                             |       / >
@MinaMelek

This comment has been minimized.

Copy link

MinaMelek commented Feb 4, 2017

  1. TextView should be just camel case with no spaces between words.
  2. The tag TextView should be self-closing. This means it should end with /> .
  3. The attribute android:layout_height has no unit of "dp".
  4. The color @android:color/darker_groy has a typo, it should be "@android:color/darker_gray"
@victorgmontero

This comment has been minimized.

Copy link

victorgmontero commented Feb 7, 2017

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

Getting past the errors
Line 1 --> The element TextView should be writed in camel case, without inner spaces.
Line 2 --> No code error, but a grammar typo: "happy" with double p.
Line 3 --> Everything seem to be correct
Line 4 --> The value of the attribute android:layout_height should be expressed in an allowed unit, for example density-independent pixels (dp)
Line 5 --> The attribute for the background color has another typo, this one affecting code, it should be wrote as "@android:color/darker_gray"
Line 6 --> The self-closing tag for element TextView is not correct, forward slash is missing, it should be like this : "/>"

@zassyed

This comment has been minimized.

Copy link

zassyed commented Feb 7, 2017

wrong syntax in Text View
parameter without dp in android:layout_height="150"
wrong spelling of gray in android:background="@android:color/darker_groy"
without closing tag />

@shitanshu19

This comment has been minimized.

Copy link

shitanshu19 commented Feb 8, 2017

First, the element name should be in CamelCase.
Then, the spelling of "Hapy Birthday" should be "Happy Birthday", the android:layout_height should have the dp as "150dp".
At last, the color of the background is spelled wrong! It should be"gray".

@MrDevoid

This comment has been minimized.

Copy link

MrDevoid commented Feb 12, 2017

TextView separated
No dp información layout height
No close the TAG
The color is Gray

@jcllobet

This comment has been minimized.

Copy link

jcllobet commented Feb 15, 2017

TextView in camel case
Add dp to height
Switch color to grey
add self closing tab />

@pedromoreirareis

This comment has been minimized.

Copy link

pedromoreirareis commented Feb 19, 2017

Linha 1: o elemento "Text View" esta escrito incorretamente. O correto é "TextView" junto e em CamelCase
Linha 4: em android:layout_height="150" está faltando o indicador "dp" o correto é android:layout_height="150dp"
Linha 5: em android:background="@android:color/darker_groy" o correto é android:background="@android:color/darker_gray"
Linha 6: esta faltando a barra "/"

@rsecci

This comment has been minimized.

Copy link

rsecci commented Feb 20, 2017

Line 1: no space between Text and View
Line 4: miss dp
Line 5: grey
Line 6: miss /

@snitajui

This comment has been minimized.

Copy link

snitajui commented Mar 8, 2017

1.missing a space between text and view
2.in line number 4 unit 'dip's missing
3.in line number 5 spelling mistake of 'gray'
4.in line number 6 missing '/'

@donfarad

This comment has been minimized.

Copy link

donfarad commented Mar 9, 2017

there should not be space between Text and View in line 1
"dp" is missing in line 4
wrong spelling of "grey" in line 5
No closing tag "/"

@YuganshT79

This comment has been minimized.

Copy link

YuganshT79 commented Mar 14, 2017

  1. Text View : Having space between them
  2. In layout_height "dp" is not written
    3.color should be "dark_gray"
    4.The tag should be closed "/>"
@Santiago-Correa-Dev

This comment has been minimized.

Copy link

Santiago-Correa-Dev commented Mar 19, 2017

TextView has a space in between both words.
Happy Birthday is spelled incorrectly.
Layout_height has no measurement unit such as dp-
Darker gray is spelled incorrectly.
There is no closing bracket.

@HimaChitalia

This comment has been minimized.

Copy link

HimaChitalia commented Mar 21, 2017

1 - It should be TextView, not the Text View
2 - Spelling mistake - Happy not Hapy
3 - Missing unit of measurement dp in layout_height after 150
4 - Spelling mistake in the color name. It should be darker_gray not darker_groy
5 - Incomplete closing tag. It should be /> on line no 6

@zeolink

This comment has been minimized.

Copy link

zeolink commented Mar 27, 2017

It should be TextView written together
Missing unit dp
colour spelling mistake darker_groy instead of darker_gray
The XML tag was not properly closed

@sulenchy

This comment has been minimized.

Copy link

sulenchy commented Mar 27, 2017

should be the / is missing___
android:text="Hapy Birthday" can be android:text="Happy Birthday" gramatically it should be correct_
______android:layout_width="150dp" is ok ______________________
______android:layout_height="150" should be android:layout_height="150dp" the dp unit was missing ___________
_______android:background="@android:color/darker_groy" should be android:background="@android:color/darker_gray" ________

@Julesquire

This comment has been minimized.

Copy link

Julesquire commented Mar 28, 2017

  1. The opening tag 'Text' is not supported. It should be 'TextView' instead, using camel case.
  2. The tag TextView should be self-closing. It should end with '/>'.
  3. The attribute android:layout_heigh does not support the value '150'. It should be '150dp' instead.
  4. The color '@android:color/darker_groy' is not supported. It should be '@android:color/darker_gray'.
  5. Also the word 'Hapy' in the text is misspelled. It should be 'Happy'. It is missing a 'p', but it is an English grammar error. It does not affect to the code, and it may run properly without this correction.
@davidconoh

This comment has been minimized.

Copy link

davidconoh commented Mar 30, 2017

Text View not in camel case. Correct to TextView.
No closing tag for TextView. '/' is missing.
android:layout_height should contain dp in the value 150
In @android:color/darker_groy, it should be darker_gray

@meeezy

This comment has been minimized.

Copy link

meeezy commented Mar 30, 2017

  1. Incorrect opening tag. Should be "TextView"
  2. Line 4, missing "dp" unit
  3. Line 5, incorrect spelling of color, should be "gray"
  4. Improper closing tag. "/" is missing
@onwuvic

This comment has been minimized.

Copy link

onwuvic commented Mar 30, 2017

there a bug in layout_height missing "dp"
the self closing tag was not properly close I added "/"
The "TextView" was separated by a space
the gray color name was not spell correctly "gray"

@Enistole

This comment has been minimized.

Copy link

Enistole commented Apr 3, 2017

  1. There shouldn't be space between the Text and the View in line 1. It should be in camel case.
    2.The color specification in line 3 is incorrect.
  2. The attribute name in line 4 for the layout height has no unit of "dp"
  3. The closing tag in line 6 is written incorrectly. should be written />
@dezmoni

This comment has been minimized.

Copy link

dezmoni commented Apr 7, 2017

  1. Text View should be TextView for the beginning of the element tag.
  2. Though its not a syntax error, android:text property is set to "Hap Birthday" when it should be" Happy Birthday" with 2 p's.
  3. The android:layout_height property value is missing the dp after "150" for a valid measurmemnt.
  4. The android:background property value has misspelled darker_gray.
  5. You need a / to complete the self-closing tag.

the correction is

<TextView
    android:text="Happy Birthday"
    android:layout_width="150dp"
    android:layout_height="150dp"
    android:background="@android:color/darker_gray"
/>
@Yasser-Mahmoud

This comment has been minimized.

Copy link

Yasser-Mahmoud commented Apr 7, 2017

Line 1: TextView should not have a space in between.
Line 4: "150dp" is missing dp afer 150
Line 5: it's gray not groy
Line 6: missing a "/" before ">"

@alevel7

This comment has been minimized.

Copy link

alevel7 commented Apr 10, 2017

There is space between the text view, the textview is not properly closed. The happy birthday is spelled wrong. The 150 has no 'dp".it's gray not groy for color

@whizjohn

This comment has been minimized.

Copy link

whizjohn commented Apr 11, 2017

  1. There is space between the xml tag, should be textView instead.
  2. Attribute, android:layout_height has a value without the unit. Should be 150dp, instead of 150 in quotes.
  3. Color value for the background is wrong, should be darker_gray instead of darker_groy
  4. The tag is not closed, should have the /> self closing tag on the last line instead of >
@eljorgio

This comment has been minimized.

Copy link

eljorgio commented Apr 11, 2017

On line 1: name (with spaces) is written wrongly
On line 2: input "Hapy Birthday" is spelled wrong
On line 4: unit for height(dp) is missing.
On line 5: background color "darker_groy" is incorrect
On line 6: tag is not closed correctly

@sdiezmart

This comment has been minimized.

Copy link

sdiezmart commented Apr 11, 2017

  1. Element (TextView) is not following proper camel case (blank space in between)
  2. The text value has a misspelling error (Happy)
  3. The height value has the units (dp) missing
  4. The color value has a typo (gray)
  5. No closing tag, either a forward slash or closing element is missing
@EmmDen

This comment has been minimized.

Copy link

EmmDen commented Apr 12, 2017

There is no closing tag, there is no dp in height, there is a typo for gray color and TextView was typed with a space in between. There is also a typo in the first value, with Happy written with one p.

@VaibhavAWD

This comment has been minimized.

Copy link

VaibhavAWD commented Apr 13, 2017

  1. Element name in the opening backet is misspelled.
  2. The attribute android:layout_height is missing the measurement unit such as dp
  3. No such color darker_groy
  4. Missing forward slash in closing tag
@ErgoProxyUA

This comment has been minimized.

Copy link

ErgoProxyUA commented Apr 20, 2017

TextView
android:text="Hapy Birthday"
android:background="@android:color/darker_gray"
android:layout_width="150dp"
android:layout_height="150dp" />

@AceArash

This comment has been minimized.

Copy link

AceArash commented Apr 21, 2017

@Mahmoudtarek59

This comment has been minimized.

Copy link

Mahmoudtarek59 commented Apr 27, 2017

@Thomas3434

This comment has been minimized.

Copy link

Thomas3434 commented May 2, 2017

line 1 TextView (remove space)
line 4 forgot to add 'dp' after 150
line 5 gray
line 6 forgot a / in the closing tag, can also move it up a line

Additionally:
line 2 not an error, but typo in "Happy Birthday"

@DTRIPATHI

This comment has been minimized.

Copy link

DTRIPATHI commented May 3, 2017

error in line 1 : remove the space between Text View
error in line 4 : add dp to 150
error in line 5 : the color should be spelled correctly i.e gray not groy
error in line 6 : /> instead if >

@Adithya8151

This comment has been minimized.

Copy link

Adithya8151 commented May 8, 2017

error1:space b/w TextView
error2:height attribute value doesn't have dp metric
error3:in background color value spelling is incorrect it should be gray
error4:there is no / in self closing tag

@tuandao2511

This comment has been minimized.