Closed UweTrottmann closed 1 year ago
27 tests ±0 27 :heavy_check_mark: ±0 12s :stopwatch: ±0s 12 suites ±0 0 :zzz: ±0 12 files ±0 0 :x: ±0
Results for commit 65a6e627. ± Comparison against base commit 8b44ea52.
:recycle: This comment has been updated with latest results.
SwitchCompat
, to use the new MaterialSwitch need to overridepreferenceTheme
as shown in the Material Components Catalog example: https://github.com/material-components/material-components-android/commit/229eb9d64f0e2f3972fddb0abcd12baa3e9e96cbandroidx.core.widget.NestedScrollView
which works with app bar coloring when scooting to the top.BottomNavigationView
does draw behind a navigation bar in button mode, however, on API 29+ the system adds a scrim that makes the color not noticeable.ViewPager2
(since1.1.0-beta01
) breaks dispatching insets to views by consuming insets. Need to setViewCompat.setOnApplyWindowInsetsListener
which just passes along insets. Their workaround is based on the assumption page views may consume or modify insets (which is possible pre-R, seeView.sBrokenInsetsDispatch
), but they really shouldn't.Tasks
BottomNavigationView
becauseViewPager2
(since1.1.0-beta01
) consumes them.CoordinatorLayout
that supply scroll events, whichAppBarLayout
listens to. Solve by explicitly settingliftOnScrollTargetViewId
to the scrolling view of the current page.ViewGroup
and padding it accordingly. Note: the Catalog example is using the decor view, however, this breaks the navigation bar scrim (it's always fully transparent).