Niedzielski has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/296964

Change subject: Keep the Feed background from overlapping contents
......................................................................

Keep the Feed background from overlapping contents

When scrolling down, allowing the search bar to disappear, then
scrolling back up quickly, the telescope background overlaps the search
bar for a split second, then the search bar "jumps" back on top.
Override the default AppBarLayout elevation[0].

[0] Possibly related: https://code.google.com/p/android/issues/detail?id=181618

Change-Id: I907fc708f9c9c28ed6a09e0e92dd22ee82d48f0f
---
M app/src/main/res/layout/fragment_feed.xml
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/64/296964/1

diff --git a/app/src/main/res/layout/fragment_feed.xml 
b/app/src/main/res/layout/fragment_feed.xml
index a665a38..f3f9de5 100644
--- a/app/src/main/res/layout/fragment_feed.xml
+++ b/app/src/main/res/layout/fragment_feed.xml
@@ -17,6 +17,7 @@
             android:layout_width="match_parent"
             android:layout_height="@dimen/view_feed_header_height"
             android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
+            app:elevation="0dp"
             android:fitsSystemWindows="true">
 
             <android.support.design.widget.CollapsingToolbarLayout
@@ -44,6 +45,7 @@
                     app:title="@string/activity_feed_title"
                     app:background="@color/main_toolbar_background"
                     app:layout_collapseMode="pin" />
+
             </android.support.design.widget.CollapsingToolbarLayout>
 
         </android.support.design.widget.AppBarLayout>
@@ -61,4 +63,4 @@
 
     </android.support.design.widget.CoordinatorLayout>
 
-</android.support.v4.widget.SwipeRefreshLayout>
\ No newline at end of file
+</android.support.v4.widget.SwipeRefreshLayout>

-- 
To view, visit https://gerrit.wikimedia.org/r/296964
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I907fc708f9c9c28ed6a09e0e92dd22ee82d48f0f
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to