1 <?xml version="1.0" encoding="utf-8"?> 2 <resources> 3 <drawable name="white">#FFFFFFFF</drawable> 4 <drawable name="darkgray">#808080FF</drawable> 5 <drawable name="black">#FF000000</drawable> 6 <drawable name="blue">#FF0000FF</drawable> 7 <drawable name="cyan">#FF00FFFF</drawable> 8 <drawable name="gray">#FF444444</drawable> 9 <drawable name="green">#FF00FF00</drawable> 10 <drawable name="ltgray">#FFCCCCCC</drawable> 11 <drawable name="magenta">#FFFF00FF</drawable> 12 <drawable name="red">#FFFF0000</drawable> 13 <drawable name="transparent">#00000000</drawable> 14 <drawable name="yellow">#FFFFFF00</drawable> 15 16 </resources>
基本上给出了我们设计UI时,需要的颜色值。