Androidのカスタム属性、atr formatの値を取るタイプ
:
[java] view plain copy
"reference" //
"color" //
"boolean" //
"dimension" //
"float" //
"integer" //
"string" //
"fraction" // , 200%
それぞれの使い方を紹介します。1. reference: ID。
(1) :
(2)
2. color: 。
(1) :
(2) :
3. boolean: 。
(1) :
(2) :
5. float: 。
(1) :
(2) :
6. integer: 。
(1) :
(2) :
7. string: 。
(1) :
(2) :
8. fraction: 。
(1) :
(2) :
9. enum: 。
(1) :
(2) :
10. flag: 。
(1) :
(2) :
:
。
(1) :
(2) :