![]() ![]() ![]() In this lesson we just focus on using colors, not defining them. ![]() Read our Everything about colors in Android appendix to understand how to define colors. Colors defined by user could be stored in colors.xml resource file. We start with font and background colors, but beside a standard text color there are also other options, like links, highlight and hint colors. Moreover we would check current colors.Ĭolors in Android are defined in RGB format. By Android Teacher on July 4th, 2013 in Getting started, TextView tags: #RRGGBB, android:background, android:textColor, android:textColorHighlight, android:textColorHint, android:textColorLink, Color class, colors.xml, getColor, getCurrentHintTextColor, getCurrentTextColor, getHighlightColor, getTextColors, setBackgroundColor, setHighlightColor, setHintTextColor, setLinkTextColor, setTextColor, TextViewįrom the previous lesson we know how to display a text on Android device’s screens both using XML layout files and Java code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |