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
|
|
|
style="@style/VectorToolbarStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
2019-05-16 17:14:02 +00:00
|
|
|
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/groupToolbarAvatarImageView"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/groupToolbarTitleView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?vctr_toolbar_primary_text_color"
|
|
|
|
android:textSize="18sp"
|
|
|
|
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"
|
|
|
|
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"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:itemIconTint="@android:color/white"
|
|
|
|
app:itemTextColor="@color/home_bottom_nav_view_tint"
|
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"
|
|
|
|
app:menu='@menu/selected_group_navigation' />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|