BayernMessenger/vector/src/main/res/layout/fragment_home_detail.xml

71 lines
2.8 KiB
XML
Raw Normal View History

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"
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
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"
2019-05-29 10:21:45 +00:00
android:background="#FFFFFF"
2019-05-15 17:44:06 +00:00
app:contentInsetStartWithNavigation="0dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
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"
2019-05-29 10:21:45 +00:00
android:layout_width="32dp"
android:layout_height="32dp"
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"
android:ellipsize="end"
android:maxLines="1"
2019-05-29 10:21:45 +00:00
android:textColor="@color/dark_grey"
android:textSize="20sp"
android:textStyle="bold"
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-05-29 10:21:45 +00:00
android:background="#F3F8FD"
2019-05-15 17:44:06 +00:00
app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
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"
android:background="#FFFFFF"
app:itemIconTint="@color/home_bottom_nav_view_tint"
2019-05-15 17:44:06 +00:00
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"
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>