2019-05-15 17:44:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-05-16 17:14:02 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-05-15 17:44:06 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
2019-05-16 17:14:02 +00:00
|
|
|
android:id="@+id/groupToolbar"
|
2019-05-15 17:44:06 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2019-06-04 16:10:38 +00:00
|
|
|
android:elevation="4dp"
|
2019-05-15 17:44:06 +00:00
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-06-05 12:31:11 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2019-05-16 17:14:02 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/groupToolbarAvatarImageView"
|
2019-05-29 10:21:45 +00:00
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="32dp"
|
2019-05-16 17:14:02 +00:00
|
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/groupToolbarTitleView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-29 10:21:45 +00:00
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
2019-05-16 17:14:02 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2019-06-06 12:37:30 +00:00
|
|
|
android:textColor="?riotx_text_primary"
|
2019-05-29 10:21:45 +00:00
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold"
|
2019-05-16 17:14:02 +00:00
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
2019-05-15 17:44:06 +00:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/roomListContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
2019-06-05 13:27:35 +00:00
|
|
|
android:background="?riotx_header_panel_background"
|
2019-05-15 17:44:06 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
|
2019-05-16 17:14:02 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/groupToolbar" />
|
2019-05-15 17:44:06 +00:00
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/bottomNavigationView"
|
|
|
|
android:layout_width="0dp"
|
2019-05-29 10:21:45 +00:00
|
|
|
android:layout_height="48dp"
|
2019-06-05 13:27:35 +00:00
|
|
|
android:background="?riotx_background"
|
2019-05-29 12:50:55 +00:00
|
|
|
app:itemIconSize="20dp"
|
2019-05-27 15:28:18 +00:00
|
|
|
app:labelVisibilityMode="unlabeled"
|
2019-05-15 17:44:06 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-05-29 10:21:45 +00:00
|
|
|
app:menu="@menu/home_bottom_navigation" />
|
2019-05-15 17:44:06 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|