When text is copied to clipboard and suggestion is shown, top of keyboard hides the small part of view behind, I think it's a problem of "Gboard", because if EditText inputType is "text" everything works fine, but when it's "number" type, it causes problem.
Here is style that I use:
<style name="BottomSheetDialogStyle">
<item name="android:windowIsFloating">false</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowSoftInputMode">adjustResize</item>
</style>
Your problem is that you're using a bottom sheet and it does not expand completely and I guess if you try to scroll it, you can see the button completely.
We had a bad UI design like this in the pas, and a dirty solution we've finally found was removing the button from the bottom sheet and adding it to the Frame layout which is 3layers above the root of bottom sheet
Also there are some libraries like this which do the job https://github.com/xyzcod2/StickyBottomSheet
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With