Skip to content

Instantly share code, notes, and snippets.

@shitanshu19
Forked from anonymous/sample
Created February 8, 2017 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shitanshu19/24b6a4a8dfcbf16b95ec75bb2f0648de to your computer and use it in GitHub Desktop.
Save shitanshu19/24b6a4a8dfcbf16b95ec75bb2f0648de 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"
>
@shitanshu19
Copy link
Author

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

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