Fix / hide keyboard when showing context action sheet

+ fix reaction colors
This commit is contained in:
Valere 2019-05-16 09:33:49 +02:00
parent d68b447874
commit a9a1fe2aa0
3 changed files with 5 additions and 3 deletions

View File

@ -59,6 +59,7 @@ import im.vector.matrix.android.api.session.user.model.User
import im.vector.riotredesign.R
import im.vector.riotredesign.core.dialogs.DialogListItem
import im.vector.riotredesign.core.epoxy.LayoutManagerStateRestorer
import im.vector.riotredesign.core.extensions.hideKeyboard
import im.vector.riotredesign.core.extensions.observeEvent
import im.vector.riotredesign.core.glide.GlideApp
import im.vector.riotredesign.core.platform.ToolbarConfigurable
@ -460,6 +461,7 @@ class RoomDetailFragment :
Timber.e("Missing RoomId, cannot open bottomsheet")
return false
}
this.view?.hideKeyboard()
MessageActionsBottomSheet
.newInstance(roomId, informationData)
.show(requireActivity().supportFragmentManager, "MESSAGE_CONTEXTUAL_ACTIONS")

View File

@ -4,7 +4,7 @@
<size android:width="40dp" android:height="22dp"/>
<solid android:color="@color/light_blue_grey" />
<solid android:color="?vctr_list_header_background_color" />
<stroke android:width="1dp" android:color="@color/accent_color_light" />

View File

@ -4,9 +4,9 @@
<size android:width="40dp" android:height="22dp"/>
<solid android:color="@color/light_blue_grey" />
<solid android:color="?vctr_list_header_background_color" />
<stroke android:width="1dp" android:color="@color/list_divider_color_light" />
<!--<stroke android:width="1dp" android:color="@color/list_divider_color_light" />-->
<corners android:radius="20dp" />