Commit 201b4a0
[Material] Update guidelines for CollapsingToolbar + PreferenceFragmentCompat
It previously recommended creating a PreferencFragmentCompat inside a NestedScrollView, which will make the RecyclerView fully inflate all element, causing a UI jank. See more in https://momen-zaq.medium.com/recyclerview-with-nestedscrollview-best-practices-and-how-to-avoid-it-152fd9ce46d9
PiperOrigin-RevId: 4604820201 parent 53b3001 commit 201b4a0
File tree
1 file changed
+3
-8
lines changed- catalog/java/io/material/catalog/topappbar/res/layout
1 file changed
+3
-8
lines changedLines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 44 | + | |
50 | 45 | | |
51 | 46 | | |
0 commit comments