Status Update
Comments
al...@android.com <al...@android.com>
ch...@google.com <ch...@google.com>
[Deleted User] <[Deleted User]> #2
Hello,
Thank you for reaching out to us!
This issue seems to be outside of the scope of Issue Tracker. This Issue Tracker is a forum for end users to report bugs
and request features
on Google Cloud products. Please go through
I recommend you to
For now, I'm going to close this thread which will no longer be monitored. In case you want to report a new issue, please do not hesitate to create a new Issue Tracker describing your issue.
Thank you!
bo...@gmail.com <bo...@gmail.com> #3
+1 for returning from another activity if it was scrolled to a hidden state before leaving the first activity. Returning shows a blank space, not displaying the toolbar.
bo...@gmail.com <bo...@gmail.com> #4
So I've confirmed this using a simple toolbar/appbarlayout/coordinator view setup. My scrollable content is a frame layout which I've added a fragment to (contains a recyclerview). The behavior works exaclty as expect while interacting with the activity/fragment. The problem occurs when the toolbar is scrolled off screen and you either a) start a new activity and return to original or b) press the home button and then app icon to resume the activity (same life cycle, just two different user paths). After resuming, scrolling up to reveal the scrolled off content shows just a blank space.
ch...@google.com <ch...@google.com> #6
This is an invalidation bug in the framework. We've got a workaround in place in the next release.
ch...@google.com <ch...@google.com> #12
Released in v22.2.1.
lu...@gmail.com <lu...@gmail.com> #13
still happens with 22.2.1
ch...@google.com <ch...@google.com> #14
#15: Issue 36949180
ka...@gmail.com <ka...@gmail.com> #15
[Comment deleted]
ma...@lehung.de <ma...@lehung.de> #16
i think it's still not fixed. I used the latest libraries 23.0.0.
Could you please fix it. Thanks
Could you please fix it. Thanks
vo...@gmail.com <vo...@gmail.com> #17
I'm using libraries 23.0.0. and the bug still occurs.
Workaround for this is adding View that takes nearly no space and can be invisible. See the structure below.
<android.support.design.widget.CoordinatorLayout>
<android.support.v4.widget.NestedScrollView
app:layout_behavior="@string/appbar_scrolling_view_behavior">
</android.support.v4.widget.NestedScrollView>
<android.support.design.widget.AppBarLayout>
<android.support.v7.widget.Toolbar
app:layout_scrollFlags="scroll|enterAlways" />
<android.support.design.widget.TabLayout
app:layout_scrollFlags="scroll|enterAlways" />
<View
android:layout_width="match_parent"
android:layout_height=".3dp"
android:visibility="visible"/>
</android.support.design.widget.AppBarLayout>
</android.support.design.widget.CoordinatorLayout>
This Questions on Stackoverflow.com refer to this bug too:
http://stackoverflow.com/questions/30895579/coordinatorlayout-toolbar-invisible-on-enter-until-full-height
http://stackoverflow.com/questions/31084658/appbarlayout-layout-sometimes-invisible-once-it-enters-view-even-if-its-not
Workaround for this is adding View that takes nearly no space and can be invisible. See the structure below.
<android.support.design.widget.CoordinatorLayout>
<android.support.v4.widget.NestedScrollView
app:layout_behavior="@string/appbar_scrolling_view_behavior">
</android.support.v4.widget.NestedScrollView>
<android.support.design.widget.AppBarLayout>
<android.support.v7.widget.Toolbar
app:layout_scrollFlags="scroll|enterAlways" />
<android.support.design.widget.TabLayout
app:layout_scrollFlags="scroll|enterAlways" />
<View
android:layout_width="match_parent"
android:layout_height=".3dp"
android:visibility="visible"/>
</android.support.design.widget.AppBarLayout>
</android.support.design.widget.CoordinatorLayout>
This Questions on Stackoverflow.com refer to this bug too:
vi...@gmail.com <vi...@gmail.com> #18
Still seeing this behaviour in 23.0.0.
ka...@gmail.com <ka...@gmail.com> #19
Still an issue in 22.2.0. Happening really often on Samsung S3 and S4
po...@gmail.com <po...@gmail.com> #20
@katerina: are you aware that the latest version is 23.1.0? You won't get updates and bugfixes unless you update your dependencies.
Seehttp://developer.android.com/tools/support-library/index.html
See
co...@gmail.com <co...@gmail.com> #21
Your background is overlaping the ToolBar. Try putting the Toolbar at the end of your layout. This happened to me using the Coordinator Layout.
p....@gmail.com <p....@gmail.com> #22
This bug still persists on 23.3.0. Any ideas if it was finally fixed?
em...@gmail.com <em...@gmail.com> #23
This also happens on Sony 4.x devices. Also using 23.3.0
[Deleted User] <[Deleted User]> #24
This bug still occurs for me on 23.3.0 with the Samsung Galaxy S3. Any solutions?
ra...@gmail.com <ra...@gmail.com> #25
I'm facing this issue when I upgrade to 23.3.0. I use back to the 23.2.1 and it disappeared ...
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com> #27
Released in 23.4.0
ps...@gmail.com <ps...@gmail.com> #29
si...@gmail.com <si...@gmail.com> #31
[Comment deleted]
da...@gotinder.com <da...@gotinder.com> #32
We are facing the same issue with using the android x equivalent libraries
androidx.recyclerview:recyclerview:1.0.0
com.google.android.material:material:1.0.0
androidx.constraintlayout:constraintlayout:2.0.0-alpha2
using com.google.android.material.appbar.AppBarLayout.
androidx.recyclerview.widget.RecyclerView,
androidx.coordinatorlayout.widget.CoordinatorLayout
So far I have found this is easily reproducible on the Samsung s8+ and Samsung s9+ following the same steps inhttps://issuetracker.google.com/issues/37051719#comment1
Added the workaround fix mentioned herehttps://issuetracker.google.com/issues/37051719#comment17 , it indeed fixes the issue with the app bar layout disappearing
androidx.recyclerview:recyclerview:1.0.0
com.google.android.material:material:1.0.0
androidx.constraintlayout:constraintlayout:2.0.0-alpha2
using com.google.android.material.appbar.AppBarLayout.
androidx.recyclerview.widget.RecyclerView,
androidx.coordinatorlayout.widget.CoordinatorLayout
So far I have found this is easily reproducible on the Samsung s8+ and Samsung s9+ following the same steps in
Added the workaround fix mentioned here
Description
Version used:
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
When setting Toolbar with app:layout_scrollFlags="scroll|enterAlways" as a AppBarLayout only child. There are times where the 'quick return' did not show the Toolbar/AppBar. Displaying a white space.
Found a reproduceable way:
1) Have a Toolbar inside AppBar with app:layout_scrollFlags="scroll|enterAlways" and RecyclerView with app:layout_behavior="@string/appbar_scrolling_view_behavior" (refer XML below)
2) scroll the AppBar fully away to allow full viewing of RecyclerView
3) Press Home button in the Android NavigationBar
4) Return to the app via Recent App in Android NavigationBar
5) Notice the AppBar still maintains the hidden/scrolled away state
6) Scroll the list to make the AppBar 'quick return'
7) The AppBar is now empty
Note: background of Views has been set a color for demo purpose to identify components
<android.support.design.widget.CoordinatorLayout xmlns:android="
xmlns:app="
xmlns:tools="
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#3bd3cb"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar_actionbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?colorPrimary"
android:minHeight="?attr/actionBarSize"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</android.support.design.widget.AppBarLayout>
<android.support.v7.widget.RecyclerView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#330000cc"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.CoordinatorLayout>