mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
fix to don't partly hide input dialogs behind keyboard
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
5a2c3b3c5a
commit
73894bd4c0
@ -40,7 +40,7 @@ import com.nextcloud.talk.databinding.DialogBottomContactsBinding
|
|||||||
class ContactsBottomDialog(
|
class ContactsBottomDialog(
|
||||||
val activity: Activity,
|
val activity: Activity,
|
||||||
val bundle: Bundle
|
val bundle: Bundle
|
||||||
) : BottomSheetDialog(activity) {
|
) : BottomSheetDialog(activity, R.style.BottomSheetDialogThemeNoFloating) {
|
||||||
|
|
||||||
private var dialogRouter: Router? = null
|
private var dialogRouter: Router? = null
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ class ConversationsListBottomDialog(
|
|||||||
val controller: ConversationsListController,
|
val controller: ConversationsListController,
|
||||||
val currentUser: UserEntity,
|
val currentUser: UserEntity,
|
||||||
val conversation: Conversation
|
val conversation: Conversation
|
||||||
) : BottomSheetDialog(activity) {
|
) : BottomSheetDialog(activity, R.style.BottomSheetDialogThemeNoFloating) {
|
||||||
|
|
||||||
private var dialogRouter: Router? = null
|
private var dialogRouter: Router? = null
|
||||||
|
|
||||||
|
@ -235,4 +235,9 @@
|
|||||||
<item name="android:colorControlNormal">#ffffff</item>
|
<item name="android:colorControlNormal">#ffffff</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="BottomSheetDialogThemeNoFloating" parent="Theme.Design.Light.BottomSheetDialog">
|
||||||
|
<item name="android:windowIsFloating">false</item>
|
||||||
|
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user