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:theme="@style/AppThemeLight.AppBarOverlay"
|
2019-06-15 09:26:11 +02:00
|
|
|
app: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="?attr/actionBarSize"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:background="@color/background"
|
2019-04-29 19:27:51 +02:00
|
|
|
app:popupTheme="@style/AppThemeLight.PopupOverlay"
|
2019-05-21 18:55:29 +02:00
|
|
|
app:titleTextColor="@color/accent"
|
2019-05-08 08:08:04 +02:00
|
|
|
app:contentInsetStart="0dp"
|
2019-07-22 19:10:25 +02:00
|
|
|
app:layout_scrollFlags="scroll|enterAlwaysCollapsed"
|
|
|
|
|
app:layout_collapseMode="pin"
|
|
|
|
|
android:layout_gravity="bottom">
|
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="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:animateLayoutChanges="true"
|
2019-05-04 20:51:31 +02:00
|
|
|
android:fontFamily="@font/manrope_extrabold"
|
2019-04-29 19:27:51 +02:00
|
|
|
android:layoutAnimation="@anim/layout_animation_fall_down"
|
|
|
|
|
android:text="@string/app_name"
|
|
|
|
|
android:textAlignment="center"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:textColor="@color/accent"
|
2019-05-04 20:51:31 +02:00
|
|
|
android:textSize="22sp"
|
2019-04-29 19:27:51 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="2dp"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:progressTint="@color/accent"
|
2019-04-29 19:27:51 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
|
android:progressBackgroundTint="@android:color/transparent"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
|
android:id="@+id/chip"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-05-14 22:28:45 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:elevation="4dp"
|
|
|
|
|
android:background="@color/lightbackground"
|
|
|
|
|
android:textColor="@color/textcolor"/>
|
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" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/bottom_sheet_closer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"/>
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/bottom_sheet" />
|
|
|
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
|
android:id="@+id/coordination"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
app:layout_anchor="@+id/bottom_sheet"
|
|
|
|
|
android:layout_gravity="top"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:focusable="false"/>
|
|
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|