OSDN Git Service

Enabled the floating search bar feature
authorSunny Shao <sunnyshao@google.com>
Tue, 13 Nov 2018 08:47:36 +0000 (16:47 +0800)
committerSunny Shao <sunnyshao@google.com>
Tue, 13 Nov 2018 09:04:21 +0000 (17:04 +0800)
commit2c93ec8ae3f31313f97c6f1c827cff2d49fb9c52
tree97d676eba8c91674899a1b3b0b34123dacc7f864
parent4864624c3d6a814a222611bad2ea4d3163f9b55a
Enabled the floating search bar feature

Added the CoordinatorLayout as the top level layout
Added the AppBarLayout to enclose the search bar
Added the app:layout_behavior="@string/appbar_scrolling_view_behavior" to NestedScrollView

Bug: 118886724
Test: manual test
Change-Id: I4a8ef14637dc1dc7cf9618eca00e4b7d7a77c725
res/layout/search_bar.xml
res/layout/settings_homepage_container.xml