-
Star
(106)
You must be signed in to star a gist -
Fork
(96)
You must be signed in to fork a gist
-
-
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" | |
> |
ABDUSELAMUSMAIL
commented
Jul 8, 2025
1.Space between Text and View
2.Unit is missing in line 3
3./ is missing
4.The spelling of gray is wrong
textview but you wroteit by having spece between Text and view android layout_high:150 instead of 150 dp
android:color/darker-groy instead of gray and the last closing tag of textview
Line 1- it should be written in CamelCase with no space, like <TextView
Line 2- attribute value has grammar error, "Happy Birthday"
Line 4- attribute value has no measurement unit, so add dp
Line 5- attribute value spelling error, darker_gray
Line 6- the forward / before the closing angle is missing
The tag name is invalid: it should be TextView instead of Text View. The closing tag is also missing the forward slash (/) before the closing angle bracket. In addition, the unit dp is missing. Finally, the background color is invalid; it should be darker_gray instead of darker_groy.