This property is used to set background color only for components, unlike backgroundColor which sets color for every type of layout. Motivation When a view appears, its options are resolved according to its currently displayed children. Basically this means that child options are hoisted to the parent as children can declare options which effect their parent. This means that if a component has declared layout.backgroundColor or if that property was declared in defaultOptions, each view will have a background color, which might contribute to a significant overdraw.
|
|
||
228 |
|
228 |
|
229 |
|
229 |
|
230 |
|
230 |
|
231 |
|
|
|
|
231 |
|
|
|
232 |
|
|
232 |
|
233 |
|
233 |
|
234 |
|
234 |
|
235 |
|
|
|
||
146 |
|
146 |
|
147 |
|
147 |
|
148 |
|
148 |
|
149 |
|
|
|
|
149 |
|
|
150 |
|
150 |
|
151 |
|
151 |
|
152 |
|
152 |
|
|
|
||
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
17 |
|
|
18 |
|
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
|
|
||
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
|
26 |
|
|
25 |
|
27 |
|
26 |
|
28 |
|
27 |
|
29 |
|
28 |
|
30 |
|
29 |
|
31 |
|
|
32 |
|
|
30 |
|
33 |
|
31 |
|
34 |
|
32 |
|
35 |
|
|
|
||
34 |
|
37 |
|
35 |
|
38 |
|
36 |
|
39 |
|
|
40 |
|
|
37 |
|
41 |
|
38 |
|
42 |
|
39 |
|
43 |
|
|
|
||
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
6 |
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
7 |
|
20 |
|
8 |
|
21 |
|
9 |
|
22 |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
10 |
|
30 |
|
11 |
|
31 |
|
|
|
||
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
32 |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
33 |
|
39 |
|
34 |
|
40 |
|
35 |
|
41 |
|
|
|
||
50 |
|
56 |
|
51 |
|
57 |
|
52 |
|
58 |
|
53 |
|
|
|
|
59 |
|
|
|
60 |
|
|
54 |
|
61 |
|
55 |
|
62 |
|
56 |
|
63 |
|
|
|
||
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
12 |
|
|
|
|
12 |
|
|
13 |
|
13 |
|
14 |
|
14 |
|
|
|
||
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
|
12 |
|
|
12 |
|
13 |
|
13 |
|
14 |
|
14 |
|
15 |
|
|
|
||
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
25 |
|
|
|
26 |
|
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
27 |
|
29 |
|
28 |
|
30 |
|
29 |
|
31 |
|
|
|
||
32 |
|
34 |
|
33 |
|
35 |
|
34 |
|
36 |
|
35 |
|
|
|
36 |
|
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
37 |
|
44 |
|
38 |
|
45 |
|
39 |
|
46 |
|
40 |
|
47 |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
41 |
|
63 |
|
42 |
|
64 |
|
43 |
|
65 |
|
|
|
||
93 |
|
115 |
|
94 |
|
116 |
|
95 |
|
117 |
|
96 |
|
|
|
|
118 |
|
|
97 |
|
119 |
|
98 |
|
120 |
|
|
|
||
63 |
|
63 |
|
64 |
|
64 |
|
65 |
|
65 |
|
66 |
|
|
|
|
66 |
|
|
67 |
|
67 |
|
68 |
|
68 |
|
69 |
|
69 |
|
|
|
||
92 |
|
92 |
|
93 |
|
93 |
|
94 |
|
94 |
|
95 |
|
|
|
|
95 |
|
|
96 |
|
96 |
|
97 |
|
97 |
|
98 |
|
98 |
|
|
|
||
55 |
|
55 |
|
56 |
|
56 |
|
57 |
|
57 |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
58 |
|
62 |
|
59 |
|
63 |
|
60 |
|
64 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
27 |
|
30 |
|
28 |
|
31 |
|
29 |
|
32 |
|
|
|
||
583 |
|
583 |
|
584 |
|
584 |
|
585 |
|
585 |
|
586 |
|
|
|
587 |
|
586 |
|
588 |
|
587 |
|
589 |
|
588 |
|
590 |
|
589 |
|
591 |
|
|
|
592 |
|
590 |
|
593 |
|
591 |
|
594 |
|
592 |
|