Library Version:
2.0.0-rc7
Affected Device(s):
All devices with small screens
Describe the Bug:
Hi Aidan
I am showing a dialog with a custom view and the buttons are behaving really weird.
Pictures descriptions because the pictures are big 馃槗
This is the dialog in a normal screen, without the keyboard shown (aka expected behavior).

This is the dialog in a small screen before showing the keyboard.

This is the dialog in a small screen while showing the keyboard.

This is the dialog in a small screen after hiding the keyboard.

A trick I use with pictures on GitHub is straight up HTML 馃槃
<img src="url" width="250" />
After the picture uploads I just take out the URL and put it in an img tag
Oh interesting - the keyboard must be causing a remeasure, making the dialog change it's decision on being "stacked".
@jahirfiquitiva oddly, I'm unable to reproduce.
Are you changing the soft input mode of your dialogs?
Edit: Oh wait, your custom view isn't in a ScrollView. That's probably effecting it. Will try that way.
Huh, even when not scrollable, I don't see that problem on a Nexus 5.
Thanks for letting me know about the images trick.
My custom view is a full width card, and a recyclerview below
Also, I set these flags in the AndroidManifest.xml:
android:windowSoftInputMode="stateAlwaysHidden|adjustResize"
Most helpful comment
A trick I use with pictures on GitHub is straight up HTML 馃槃
After the picture uploads I just take out the URL and put it in an img tag