This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
avh-plan-android/app/src/main/res/layout/app_bar_main.xml
T

100 lines
4.1 KiB
XML
Raw Normal View History

2019-04-29 19:27:51 +02:00
<?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:layout_width="match_parent"
android:layout_height="match_parent"
2019-05-26 18:40:02 +02:00
tools:context=".Main">
2019-04-29 19:27:51 +02:00
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbarlayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:elevation="0dp">
2019-04-29 19:27:51 +02:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="84dp"
app:titleTextColor="@color/accent"
app:contentInsetStart="0dp"
android:elevation="0dp"
app:layout_scrollFlags="scroll|enterAlwaysCollapsed">
2019-04-29 19:27:51 +02:00
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/toolbarTxt"
android:layout_width="0dp"
2019-04-29 19:27:51 +02:00
android:layout_height="wrap_content"
android:layout_gravity="start"
android:fontFamily="@font/manrope_extrabold"
2019-04-29 19:27:51 +02:00
android:text="@string/app_name"
android:textColor="@color/accent"
android:textSize="24sp"
2019-04-29 19:27:51 +02:00
android:singleLine="true"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="4dp"
2019-04-29 19:27:51 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"/>
2019-04-29 19:27:51 +02:00
<TextView
android:id="@+id/text_greeting"
2019-04-29 19:27:51 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@+id/toolbarTxt"
2019-04-29 19:27:51 +02:00
app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="16dp"
android:layout_marginBottom="4dp"
android:textColor="@color/accent"
android:textSize="18sp"
android:fontFamily="@font/manrope_semibold"/>
2019-04-29 19:27:51 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<include layout="@layout/content_main" />
<View
android:id="@+id/bottom_nav_divider"
2019-04-29 19:27:51 +02:00
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
app:layout_anchor="@+id/bottom_nav"
android:layout_gravity="top"
android:background="@color/lighthintcolor"
android:clickable="false"
android:focusable="false"/>
2019-04-29 19:27:51 +02:00
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_marginBottom="0dp"
app:elevation="0dp"
android:layout_gravity="bottom"
app:menu="@menu/nav_items"
android:background="@color/background"
app:itemIconTint="@color/bottom_nav_color"
app:itemTextColor="@color/bottom_nav_color"
app:itemRippleColor="@color/accent"/>
2019-04-29 19:27:51 +02:00
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/coordination"
android:layout_width="match_parent"
android:layout_height="80dp"
app:layout_anchor="@+id/bottom_nav"
2019-04-29 19:27:51 +02:00
android:layout_gravity="top"
android:clickable="false"
android:focusable="false"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>