Difference between revisions of "Android App"
Line 20: | Line 20: | ||
[[File:3.png|950px|thumb|center|]] | [[File:3.png|950px|thumb|center|]] | ||
+ | |||
+ | [[File:4.png|950px|thumb|center|]] | ||
+ | |||
+ | or | ||
+ | |||
+ | [[File:5.png|950px|thumb|center|]] | ||
+ | |||
+ | https://plus.google.com/+AndroidDevelopers/posts/gQuBtnuk6iG | ||
+ | |||
+ | ===Hex Color=== | ||
+ | |||
+ | [[File:6.png|950px|thumb|center|]] | ||
+ | |||
+ | [[File:7.png|950px|thumb|center|]] |
Revision as of 23:18, 5 August 2019
Adroid
XML syntax
< 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
For the width / height to be precisely with the size of the content the value will be = “wrap_content”
or
https://plus.google.com/+AndroidDevelopers/posts/gQuBtnuk6iG