In fact, I have never encountered this problem in my previous development, but when I was looking for a job recently, there was such a problem in the pen exam of a company.
Color value # What does FF in ffaabbcc mean?
I admit that I have never encountered such a problem before, so I am blank in that blank question. Then I went back to the Internet and asked everyone in the Post Bar.
So I will share it with you here. There are actually two types of color values, one is argb, and the other is our commonly used RGB. What I have always been confused about is that I have always known the second one. In the expression of the first color value, the first a indicates transparency. FF is a completely opaque expression.
Translucent <relativelayout Android: Background = "# c0000000"…>
Completely opaque <relativelayout Android: Background = "# ff000000 ″... />
Completely Transparent <relativelayout Android: Background = "#00000000 ″... />
Reference: http://hxsdit.com/1637