Difference between revisions of "Android App"
Line 3: | Line 3: | ||
− | === | + | ===XML syntax=== |
− | + | ||
+ | |||
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
− | + | < TextView //open tag | |
+ | android:text=“Happy Valentine’s Day” // attributes | ||
+ | android:background=“@android:color/darker_gray” // attributes | ||
+ | Android:layout_width=“150dp” // attributes | ||
+ | Android:layout_height=“75dp”/> // attributes and close tag | ||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[File:Dog.jpg|950px|thumb|center|]] | [[File:Dog.jpg|950px|thumb|center|]] |