Status Update
Comments
ab...@gmail.com <ab...@gmail.com> #2
am...@google.com <am...@google.com> #3
Thanks for filing this.
This is working as intended, since Card in your case have bigger elevation than a TopAppBar.
As you place it in a Column { TopAppBar; ListOfCards }, cards are drawn after the top app bar, and overlap its shadow.
You either need to switch to the Box and compose the TopAppBar after the list of cards Or use Scaffold that handles this order for you Or use Modifier.zIndex (not recommended) to have higher Z index in the top app bar than in the card.
so...@gmail.com <so...@gmail.com> #4
This behaviour is also happening when using views without elevation, like a Box.
am...@google.com <am...@google.com> #5
Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
so...@gmail.com <so...@gmail.com> #6
am...@google.com <am...@google.com> #7
so...@gmail.com <so...@gmail.com> #8
Thanks
am...@google.com <am...@google.com> #9
ak...@gmail.com <ak...@gmail.com> #10
ro...@gmail.com <ro...@gmail.com> #11
Thank you.
lu...@gmail.com <lu...@gmail.com> #12
But if I hide navigation bar,it will not happen.
lu...@gmail.com <lu...@gmail.com> #13
I'm sorry, I was wrong.
Hide navigation bar not working.
[Deleted User] <[Deleted User]> #14
The issue happens 100% of the time on the device we've witnessed it on.
Thanks!
-Anthony
pi...@gmail.com <pi...@gmail.com> #15
ma...@gmail.com <ma...@gmail.com> #16
I have my firstActivity with no restrictions on orientation, and my secondActivity with landscape orientation restriction.
When i return from secondActivity to firstActivity, firstActivity flips from portrait to landscape and again to portrait.
Any news about this bug?
Thank you
el...@bonnierbroadcasting.com <el...@bonnierbroadcasting.com> #17
Exactly as describe above :"I have my firstActivity with no restrictions on orientation, and my secondActivity with landscape orientation restriction.
When i return from secondActivity to firstActivity, firstActivity flips from portrait to landscape and again to portrait."
ai...@gmail.com <ai...@gmail.com> #18
es...@hatch.live <es...@hatch.live> #19
ma...@gmail.com <ma...@gmail.com> #20
onCreate(){
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
}
onPause(){
if (android.os.Build.VERSION.SDK_INT >= 27) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT);
}
}
onResume(){
if (android.os.Build.VERSION.SDK_INT >= 27) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
}
}
mi...@gmail.com <mi...@gmail.com> #21
he...@gmail.com <he...@gmail.com> #22
si...@gmail.com <si...@gmail.com> #23
thanks
pi...@gmail.com <pi...@gmail.com> #24
Comments about workaround are really sad...
sz...@gmail.com <sz...@gmail.com> #25
he...@gmail.com <he...@gmail.com> #26
ap...@gmail.com <ap...@gmail.com> #27
vi...@gmail.com <vi...@gmail.com> #28
vi...@gmail.com <vi...@gmail.com> #29
I can see this issue coming only with hybrid app , mine is Cordova app and am getting issue but I created one native sample in that am not getting issue
vi...@gmail.com <vi...@gmail.com> #30
[Deleted User] <[Deleted User]> #31
lu...@gmail.com <lu...@gmail.com> #32
ba...@gmail.com <ba...@gmail.com> #33
ha...@gmail.com <ha...@gmail.com> #34
ma...@gmail.com <ma...@gmail.com> #35
pr...@gmail.com <pr...@gmail.com> #36
si...@gmail.com <si...@gmail.com> #37
yo...@gmail.com <yo...@gmail.com> #38
[Deleted User] <[Deleted User]> #39
ak...@gmail.com <ak...@gmail.com> #40
pi...@gmail.com <pi...@gmail.com> #41
sa...@gmail.com <sa...@gmail.com> #42
ja...@gmail.com <ja...@gmail.com> #43
ts...@ymedialabs-migrated.com <ts...@ymedialabs-migrated.com> #44
iv...@gmail.com <iv...@gmail.com> #45
lo...@gmail.com <lo...@gmail.com> #46
cs...@gmail.com <cs...@gmail.com> #47
Beside of the flipping issue, when from a landscape mode activity calling to start an activity from another package (say open the google map), returning back to the landscape Activity it stucks in the portrait mode (gg map is opened in portrait mode yea).
Android 8.1 with Nexus 6P.. Hope to hearing from gg team soon.
te...@gmail.com <te...@gmail.com> #48
sa...@gmail.com <sa...@gmail.com> #49
qh...@gmail.com <qh...@gmail.com> #50
pi...@gmail.com <pi...@gmail.com> #51
ch...@gmail.com <ch...@gmail.com> #52
to...@gmail.com <to...@gmail.com> #53
to...@gmail.com <to...@gmail.com> #54
va...@gmail.com <va...@gmail.com> #55
lu...@gmail.com <lu...@gmail.com> #56
Have there been any reasonable development in this matter ?
We have been using fixed portrait screen by setting the portrait on runtime as well as in manifest. Everything works fine while in context of the app even on android 8, 8.1. Wrong behavior happens right after we leave the app for some external tool like Goodle Docs File browser ( which has other orientation defined ) and come back to our context. App looses all the saved states including orientation setup, title, values, everything done before leaving the context.
This was never the issue of lower than Android 8
And clearly there is nothing to be done expect coding everything support libs are for (once again).
Please at least raise the priority as this is seriously messing up the production apps
Thank you in advance
sa...@gmail.com <sa...@gmail.com> #57
er...@gmail.com <er...@gmail.com> #58
ch...@gmail.com <ch...@gmail.com> #59
Workaround on #20 is working sometimes and fails sometimes.
Dear google team, kindly looked into the issue and update with the solution.
Thanks you in advance.
gr...@gmail.com <gr...@gmail.com> #60
sa...@google.com <sa...@google.com> #61
sa...@google.com <sa...@google.com>
[Deleted User] <[Deleted User]> #62
[Deleted User] <[Deleted User]> #63
Does any one have a better way to reproduce this bug on newer versions of Android?
[Deleted User] <[Deleted User]> #64
Any Update over this issue, because we are still getting this on Android OS 8.1 ?
Thanks
is...@google.com <is...@google.com>
go...@umito.nl <go...@umito.nl> #65
I was trying to set orientation myself programmatically. However, every screen that opened first opened device default, and then rotated. However, settings the orientation in manifest to 'locked', fixes these animations. However, you do need to be sure to programmatically then setOrientation everywhere. For example in your Application's activitylifecycleCallbacks. Last thing I needed to do was to set my splashscreen activity to sensorLandscape (so that it would not start in portrait, which I don't support).
Description
- Start a portrait activity (portrait declare on manifest)
- Start a landscape activity (landscape declare on manifest)
- Finish the landscape activity
- Portrait activity is showed again but the orientation start flipping: first in portrait mode, then landscape mode and finally portrait again.
What happened.
- Every time I finish a landscape activity and go back to a portrait activity, the portrait activity goes to portrait, then to landscape and finally portrait mode again.
What you think the correct behavior should be.
- The portrait activity should stay portrait and don't flip every time when I finish a landscape activity.
Android version: 8.1
Android device: Pixel XL