I have a problem with my application: strange behavior in version> = Lollipop, due to AndroidBug5497Workaround.
I use a coordinator scheme, a collapsing toolbar, fragments, buttons with a floating button and a snack bar, everything works fine on pre-lollipop. I need to show my Fab on top of the keyboard, and I'm using AndroidBug5497Workaround. (according to Joseph Johnson's decision )
But with this decision, the diner is going crazy. I use all Android 23.2 support libraries. +, And in my manifest I set android:windowSoftInputMode="stateAlwaysHidden|adjustResize"
for this operation
What is the structure of my activity:
<Coordinator Layout> <Collapsing Toolbar /> <Linear Layout> <Fragment /> </Linear Layout> <Floating Action Button /> </Coordinator Layout>
And what a fragment:
<Linear Layout> <Nested Scroll View> <Linear Layout> <CardView 1/> <CardView 2/> <CardView n/> </Linear Layout> </Nested Scroll View> </Linear Layout>
Any help would be appreciated. Thank you very much.


source share