Can not show button attachment when using MessageComposerView verison: 6.0.6' #5088
Unanswered
nguyenbahung94
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I'm using MessageComposerView like this code in XML file
<io.getstream.chat.android.ui.feature.messages.composer.MessageComposerView
android:id="@+id/messageComposerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/messageListView"
app:streamUiMessageComposerAttachmentsPickerFileAttachmentsTabEnabled="true"
app:streamUiMessageComposerAttachmentsPickerVideoIconVisible="true"
app:streamUiMessageComposerAttachmentsButtonVisible="true"
app:streamUiMessageComposerAttachmentsPickerFileAttachmentsTabIconDrawable="@drawable/ic_photo"
app:streamUiMessageComposerAttachmentsPickerMediaAttachmentsTabEnabled="true"
app:streamUiMessageComposerAttachmentsButtonIconDrawable="@drawable/ic_photo"
app:streamUiMessageComposerAttachmentsPickerMediaMode="photo_and_video"/>
then in file code .kt
messageComposerViewModel.bindView(messageComposerView, viewLifecycleOwner)
after this line code the button attachment disappears, Anyone has an idea about this, what should I gonna do?
Beta Was this translation helpful? Give feedback.
All reactions