This commit contains various fixes and enhancements, mostly because I was too lazy to commit small changes. * Add topBarCollapseOnScroll style property which compliments navBarHideOnScroll. This property is needed when showing a collapsing topTabs screen. In this case the developer might to keep the titleBar bar when the screen is collapsed. * Reduce collapse sensitivity by taking scaled touch slop into account * Cancel touches when collapsing. This fix prevents buttons from responding to touch events when collapse ends.
|
|
||
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
42 |
|
|
43 |
|
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
|
|
||
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
|
|
|
26 |
|
|
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
|
||
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
30 |
|
|
30 |
|
31 |
|
31 |
|
32 |
|
32 |
|
33 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
3 |
|
3 |
|
|
4 |
|
|
4 |
|
5 |
|
5 |
|
6 |
|
|
7 |
|
|
6 |
|
8 |
|
7 |
|
9 |
|
8 |
|
10 |
|
|
|
||
31 |
|
33 |
|
32 |
|
34 |
|
33 |
|
35 |
|
34 |
|
|
|
|
36 |
|
|
35 |
|
37 |
|
36 |
|
38 |
|
37 |
|
39 |
|
|
|
||
63 |
|
65 |
|
64 |
|
66 |
|
65 |
|
67 |
|
66 |
|
|
|
|
68 |
|
|
67 |
|
69 |
|
|
70 |
|
|
68 |
|
71 |
|
69 |
|
72 |
|
70 |
|
73 |
|
|
|
||
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
6 |
|
|
7 |
|
|
7 |
|
8 |
|
8 |
|
9 |
|
|
10 |
|
|
9 |
|
11 |
|
10 |
|
12 |
|
11 |
|
13 |
|
|
|
||
35 |
|
37 |
|
36 |
|
38 |
|
37 |
|
39 |
|
38 |
|
|
|
|
40 |
|
|
39 |
|
41 |
|
40 |
|
42 |
|
41 |
|
43 |
|
|
|
||
70 |
|
72 |
|
71 |
|
73 |
|
72 |
|
74 |
|
73 |
|
|
|
|
75 |
|
|
|
76 |
|
|
74 |
|
77 |
|
75 |
|
78 |
|
76 |
|
79 |
|
|
|
||
194 |
|
194 |
|
195 |
|
195 |
|
196 |
|
196 |
|
197 |
|
|
|
|
197 |
|
|
|
198 |
|
|
198 |
|
199 |
|
199 |
|
200 |
|
200 |
|
201 |
|
|
|
||
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
|
12 |
|
|
12 |
|
13 |
|
13 |
|
14 |
|
14 |
|
15 |
|
|
|
||
21 |
|
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
|
|
|
25 |
|
|
|
26 |
|
|
25 |
|
27 |
|
26 |
|
28 |
|
27 |
|
29 |
|
28 |
|
30 |
|
29 |
|
|
|
|
31 |
|
|
30 |
|
32 |
|
31 |
|
|
|
|
33 |
|
|
|
34 |
|
|
32 |
|
35 |
|
33 |
|
|
|
34 |
|
|
|
|
36 |
|
|
|
37 |
|
|
35 |
|
38 |
|
36 |
|
39 |
|
37 |
|
40 |
|
38 |
|
|
|
|
41 |
|
|
39 |
|
42 |
|
40 |
|
43 |
|
41 |
|
44 |
|
42 |
|
45 |
|
43 |
|
46 |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
44 |
|
50 |
|
45 |
|
51 |
|
46 |
|
52 |
|
|
|
||
61 |
|
67 |
|
62 |
|
68 |
|
63 |
|
69 |
|
64 |
|
|
|
|
70 |
|
|
65 |
|
71 |
|
66 |
|
72 |
|
67 |
|
73 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
|
3 |
|
|
|
4 |
|
|
3 |
|
5 |
|
4 |
|
|
|
|
6 |
|
|
5 |
|
7 |
|
|
|
||
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
|
|
|
30 |
|
|
31 |
|
31 |
|
32 |
|
32 |
|
33 |
|
33 |
|
|
|
||
125 |
|
125 |
|
126 |
|
126 |
|
127 |
|
127 |
|
|
128 |
|
|
128 |
|
129 |
|
129 |
|
130 |
|
130 |
|
131 |
|