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

Copy link

ghost commented Oct 9, 2024

Line 4 the value 150 should include "dp"
Line 5 background color spelling error groy, should be "gray"
Line 6 closing tag is missing />

@Altaseb-Chernet
Copy link

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

@Ajexm1
Copy link

Ajexm1 commented Oct 22, 2024

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

@HiwotSeyfu
Copy link

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

@YibeltalK
Copy link

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

@gaesigua
Copy link

gaesigua commented Jan 22, 2025

  1. We should not have a space in the TextView element: <TextView
  2. A typo: android:text="Happy Birthday"
  3. No error on line 3: android:layout_width="150dp"
  4. Missing dp after 150: android:layout_height="150dp"
  5. Spelling error of dark_gray: android:background="@android:color/dark_gray"
  6. Missing forwardslash before the closing angle bracket to close the TextView element: />

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

@Makda0-0
Copy link

Makda0-0 commented Jan 24, 2025

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

@FilimonAlem
Copy link

                                                   Errors
  1. There is a space in between the "TextView" keyword.
  2. The "150" don't have the unit "dp".
  3. The color "darker_groy" is not recognized as a color.
  4. There is no closing tag on the last line.

@xy804
Copy link

xy804 commented Mar 12, 2025

Good to learn more

@xy804
Copy link

xy804 commented Mar 12, 2025

There is no closing tag on the last line

@xy804
Copy link

xy804 commented Mar 12, 2025

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

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