mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 14:18:34 +00:00
Fix reaction details bottom sheet scrolling.
This commit is contained in:
parent
8c23b17517
commit
739e38a047
@ -67,6 +67,7 @@ public final class ReactionsBottomSheetDialogFragment extends BottomSheetDialogF
|
|||||||
recipientRecyclerView = view.findViewById(R.id.reactions_bottom_view_recipient_recycler);
|
recipientRecyclerView = view.findViewById(R.id.reactions_bottom_view_recipient_recycler);
|
||||||
emojiRecyclerView = view.findViewById(R.id.reactions_bottom_view_emoji_recycler);
|
emojiRecyclerView = view.findViewById(R.id.reactions_bottom_view_emoji_recycler);
|
||||||
|
|
||||||
|
emojiRecyclerView.setNestedScrollingEnabled(false);
|
||||||
messageId = getArguments().getLong(ARGS_MESSAGE_ID);
|
messageId = getArguments().getLong(ARGS_MESSAGE_ID);
|
||||||
|
|
||||||
setUpRecipientsRecyclerView();
|
setUpRecipientsRecyclerView();
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:minHeight="340dp"
|
android:id="@+id/reactions_bottom_view_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
|
android:minHeight="340dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
@ -20,8 +21,9 @@
|
|||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/reactions_bottom_view_recipient_recycler"
|
android:id="@+id/reactions_bottom_view_recipient_recycler"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dp"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
|
android:layout_weight="1"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||||
tools:listitem="@layout/reactions_bottom_sheet_dialog_fragment_recipient_item" />
|
tools:listitem="@layout/reactions_bottom_sheet_dialog_fragment_recipient_item" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user