<?
xml version=
"1.0" encoding=
"utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:
id=
"@+id/main_content"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?attr/colorSurface"
android:fitsSystemWindows=
"true">
<com.google.android.material.appbar.AppBarLayout
android:
id=
"@+id/appbar"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:fitsSystemWindows=
"true"
android:importantForAccessibility=
"no"
android:theme=
"@style/ThemeOverlay.Material3.Dark.ActionBar">
<com.google.android.material.appbar.CollapsingToolbarLayout
android:
id=
"@+id/collapsing_toolbar"
style=
"?attr/collapsingToolbarLayoutLargeStyle"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/contact_detail_avatar_height"
android:fitsSystemWindows=
"true"
android:importantForAccessibility=
"no"
app:collapsedTitleTextColor=
"@android:color/white"
app:contentScrim=
"?attr/colorPrimary"
app:layout_scrollFlags=
"scroll|exitUntilCollapsed"
tools:background=
"@android:color/holo_red_light">
<ch.threema.app.ui.AvatarEditView
android:
id=
"@+id/avatar_edit_view"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:contentDescription=
"@string/profile_picture"
android:fitsSystemWindows=
"true"
android:importantForAccessibility=
"no"
app:layout_collapseMode=
"parallax" />
<ch.threema.app.emojis.EmojiEditText
android:
id=
"@+id/group_title"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom|left"
android:layout_marginHorizontal=
"@dimen/grid_unit_x2"
android:layout_marginBottom=
"@dimen/grid_unit_x4"
android:background=
"@drawable/bubble_compose_dark_outline"
android:imeOptions=
"actionDone"
android:maxLines=
"1"
android:scrollHorizontally=
"true"
android:singleLine=
"true"
android:textAppearance=
"@style/Threema.TextAppearance.DetailTitle"
app:layout_anchor=
"@id/appbar"
app:layout_anchorGravity=
"bottom|left"
tools:text=
"Group Name" />
<View
android:layout_width=
"match_parent"
android:layout_height=
"16dp"
android:layout_gravity=
"bottom"
android:background=
"@drawable/shape_detail" />
<com.google.android.material.appbar.MaterialToolbar
android:
id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
app:layout_collapseMode=
"pin"
tools:menu=
"@menu/activity_group_detail"
tools:navigationIcon=
"@drawable/ic_arrow_back_24">
</com.google.android.material.appbar.MaterialToolbar>
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:
id=
"@+id/group_members_list"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginHorizontal=
"@dimen/grid_unit_x2"
android:clipToPadding=
"false"
android:importantForAccessibility=
"no"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:listitem=
"@layout/item_group_detail" />
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
android:
id=
"@+id/floating"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom|right|end"
android:layout_marginRight=
"@dimen/grid_unit_x2"
android:layout_marginBottom=
"@dimen/grid_unit_x2"
android:clickable=
"true"
android:focusable=
"true"
android:text=
"@string/apply_changes"
app:icon=
"@drawable/ic_check" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>