12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?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"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".ui.fragments.TimetableFragment">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/timetable"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/timetable_toolbar">
- </androidx.recyclerview.widget.RecyclerView>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/timetable_toolbar"
- android:layout_width="0dp"
- android:layout_height="56dp"
- android:background="@drawable/shape_top_toolbar"
- android:elevation="4dp"
- android:visibility="gone"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <ImageView
- android:id="@+id/back"
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:scaleType="fitCenter"
- android:src="@drawable/img_arrow"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:tint="@color/primary"
- tools:ignore="ContentDescription,ImageContrastCheck" />
- <TextView
- android:id="@+id/timetable_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/title"
- android:textAlignment="center"
- android:textSize="20sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <ImageView
- android:id="@+id/previous"
- android:layout_width="32dp"
- android:layout_height="0dp"
- android:scaleType="centerInside"
- android:src="@drawable/img_arrow"
- app:layout_constraintBottom_toBottomOf="@+id/timetable_title"
- app:layout_constraintEnd_toStartOf="@+id/timetable_title"
- app:layout_constraintTop_toTopOf="@+id/timetable_title"
- app:tint="@color/text"
- tools:ignore="ContentDescription" />
- <ImageView
- android:id="@+id/next"
- android:layout_width="32dp"
- android:layout_height="0dp"
- android:rotation="180"
- android:scaleType="centerInside"
- android:src="@drawable/img_arrow"
- app:layout_constraintBottom_toBottomOf="@+id/timetable_title"
- app:layout_constraintStart_toEndOf="@+id/timetable_title"
- app:layout_constraintTop_toTopOf="@+id/timetable_title"
- app:tint="@color/text"
- tools:ignore="ContentDescription" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
|