This topic created in 2209 days ago, the information mentioned may be changed or developed.
SDK 文档里关于属性默认值写的很少,好像同一个属性在不同的 View 里默认值也会不同,有的得看源代码才能知道。这可麻烦了
Supplement 1 · Oct 20, 2020
比如 focusable, scaleType,descendantFocusability 这些和 View 行为有关的属性
5 replies • 2020-10-19 10:07:08 +08:00
 |
|
熟能生巧...
这个巧就是我踩过坑了,背的了
|
 |
|
view 的默认值是什么东西?
|
 |
|
style 里
|
 |
|
300Oct 17, 2020 via Android
4
多写就记住了 反正常用的也就那几个
|
 |
|
比如 focusable, scaleType,descendantFocusability 这些和 View 行为有关的属性
|