Merge pull request #363 from FossifyOrg/make_conversation_screen_scrollable

Make conversation details screen scrollable
This commit is contained in:
Naveen Singh 2025-04-01 12:27:09 +05:30 committed by GitHub
commit c0f22fc636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 93 additions and 84 deletions

View file

@ -54,7 +54,7 @@ class ConversationDetailsActivity : SimpleActivity() {
useTopSearchMenu = false
)
setupMaterialScrollListener(
scrollingView = binding.participantsRecyclerview,
scrollingView = binding.conversationDetailsNestedScrollview,
toolbar = binding.conversationDetailsToolbar
)

View file

@ -14,11 +14,18 @@
app:title="@string/conversation_details"
app:titleTextAppearance="@style/AppTheme.ActionBar.TitleTextStyle" />
<androidx.core.widget.NestedScrollView
android:id="@+id/conversation_details_nested_scrollview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="?attr/actionBarSize"
android:fillViewport="true"
android:scrollbars="none">
<LinearLayout
android:id="@+id/conversation_details_holder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="?attr/actionBarSize"
android:orientation="vertical">
<TextView
@ -104,4 +111,6 @@
tools:listitem="@layout/item_contact_with_number" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>