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

67 lines
2.6 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
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">
<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-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"
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"
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>