2020-12-16 19:26:53 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
|
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".activity.MainActivity">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/constraintLayoutFav"
|
|
|
|
android:layout_width="177dp"
|
|
|
|
android:layout_height="182dp"
|
|
|
|
android:layout_marginStart="200dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="587dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_bias="0.0">
|
2020-12-16 19:26:53 +00:00
|
|
|
|
|
|
|
<ImageButton
|
2021-01-21 09:13:48 +00:00
|
|
|
android:id="@+id/imageButtonFavourites"
|
2020-12-16 19:26:53 +00:00
|
|
|
android:layout_width="176dp"
|
|
|
|
android:layout_height="180dp"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:background="@drawable/button_border"
|
|
|
|
android:baselineAlignBottom="false"
|
|
|
|
android:cropToPadding="false"
|
|
|
|
android:foregroundTintMode="screen"
|
2020-12-16 19:26:53 +00:00
|
|
|
android:paddingLeft="100px"
|
|
|
|
android:paddingTop="100px"
|
|
|
|
android:paddingRight="100px"
|
|
|
|
android:paddingBottom="100px"
|
|
|
|
android:scaleType="fitXY"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:tint="@color/dark_blue"
|
2020-12-16 19:26:53 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_baseline_favorite_24" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewCurrent"
|
2021-12-08 23:14:34 +00:00
|
|
|
android:layout_width="wrap_content"
|
2020-12-16 19:26:53 +00:00
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="54dp"
|
|
|
|
android:layout_marginTop="143dp"
|
2021-12-08 23:14:34 +00:00
|
|
|
android:layout_marginEnd="54dp"
|
2020-12-16 19:26:53 +00:00
|
|
|
android:layout_marginBottom="18dp"
|
|
|
|
android:text="@string/fav_stations"
|
|
|
|
android:textAlignment="center"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="@color/dark_blue"
|
|
|
|
android:textStyle="bold"
|
2021-01-21 09:13:48 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/imageButtonFavourites"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/imageButtonFavourites"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/imageButtonFavourites"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/imageButtonFavourites" />
|
2020-12-16 19:26:53 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/constraintLayoutAllStations"
|
|
|
|
android:layout_width="177dp"
|
|
|
|
android:layout_height="183dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="200dp"
|
|
|
|
android:layout_marginBottom="586dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_bias="0.0">
|
2020-12-16 19:26:53 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/imageButtonAllStations"
|
|
|
|
android:layout_width="175dp"
|
|
|
|
android:layout_height="183dp"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:background="@drawable/button_border"
|
2020-12-16 19:26:53 +00:00
|
|
|
android:backgroundTintMode="src_in"
|
|
|
|
android:paddingLeft="100px"
|
|
|
|
android:paddingTop="100px"
|
|
|
|
android:paddingRight="100px"
|
|
|
|
android:paddingBottom="100px"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:scaleX="1"
|
|
|
|
android:scaleY="1"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:tint="@color/dark_blue"
|
2020-12-16 19:26:53 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_baseline_menu_24" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewAllStations"
|
2021-12-08 23:14:34 +00:00
|
|
|
android:layout_width="wrap_content"
|
2020-12-16 19:26:53 +00:00
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_marginStart="21dp"
|
|
|
|
android:layout_marginTop="116dp"
|
|
|
|
android:layout_marginEnd="22dp"
|
|
|
|
android:layout_marginBottom="18dp"
|
|
|
|
android:text="@string/all_stations"
|
|
|
|
android:textAlignment="center"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="@color/dark_blue"
|
|
|
|
android:textStyle="bold"
|
2020-12-16 19:26:53 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/imageButtonAllStations"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/imageButtonAllStations"
|
|
|
|
app:layout_constraintHorizontal_bias="0.526"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/imageButtonAllStations"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/imageButtonAllStations"
|
|
|
|
app:layout_constraintVertical_bias="1.0" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2021-02-07 12:48:25 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/constraintLayoutExport"
|
|
|
|
android:layout_width="177dp"
|
|
|
|
android:layout_height="183dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="200dp"
|
|
|
|
android:layout_marginBottom="586dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/constraintLayoutAllStations">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/imageButtonExport"
|
|
|
|
android:layout_width="175dp"
|
|
|
|
android:layout_height="183dp"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:background="@drawable/button_border"
|
2021-02-07 12:48:25 +00:00
|
|
|
android:backgroundTintMode="src_in"
|
|
|
|
android:paddingLeft="100px"
|
|
|
|
android:paddingTop="100px"
|
|
|
|
android:paddingRight="100px"
|
|
|
|
android:paddingBottom="100px"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:scaleX="1"
|
|
|
|
android:scaleY="1"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:tint="@color/dark_blue"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_baseline_save_alt_24" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewExport"
|
2021-12-08 23:14:34 +00:00
|
|
|
android:layout_width="wrap_content"
|
2021-02-07 12:48:25 +00:00
|
|
|
android:layout_height="20dp"
|
2021-12-08 23:14:34 +00:00
|
|
|
android:layout_marginStart="22dp"
|
2021-02-07 12:48:25 +00:00
|
|
|
android:layout_marginTop="116dp"
|
|
|
|
android:layout_marginEnd="22dp"
|
|
|
|
android:layout_marginBottom="18dp"
|
|
|
|
android:text="@string/export_data"
|
|
|
|
android:textAlignment="center"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="@color/dark_blue"
|
|
|
|
android:textStyle="bold"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/imageButtonExport"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/imageButtonExport"
|
|
|
|
app:layout_constraintHorizontal_bias="0.526"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/imageButtonExport"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/imageButtonExport"
|
|
|
|
app:layout_constraintVertical_bias="1.0" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/constraintLayoutSettings"
|
|
|
|
android:layout_width="177dp"
|
|
|
|
android:layout_height="182dp"
|
|
|
|
android:layout_marginStart="200dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="587dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/constraintLayoutFav">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/imageButtonSettings"
|
|
|
|
android:layout_width="176dp"
|
|
|
|
android:layout_height="180dp"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:background="@drawable/button_border"
|
2021-02-07 12:48:25 +00:00
|
|
|
android:paddingLeft="100px"
|
|
|
|
android:paddingTop="100px"
|
|
|
|
android:paddingRight="100px"
|
|
|
|
android:paddingBottom="100px"
|
|
|
|
android:scaleType="fitXY"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:tint="@color/dark_blue"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_baseline_settings_24" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewSettings"
|
2021-12-08 23:14:34 +00:00
|
|
|
android:layout_width="wrap_content"
|
2021-02-07 12:48:25 +00:00
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="54dp"
|
|
|
|
android:layout_marginTop="143dp"
|
2021-12-08 23:14:34 +00:00
|
|
|
android:layout_marginEnd="54dp"
|
2021-02-07 12:48:25 +00:00
|
|
|
android:layout_marginBottom="18dp"
|
|
|
|
android:text="@string/settings"
|
|
|
|
android:textAlignment="center"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="@color/dark_blue"
|
|
|
|
android:textStyle="bold"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/imageButtonSettings"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/imageButtonSettings"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/imageButtonSettings"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/imageButtonSettings" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewCredits1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:fontFamily="@font/alegreya_sans_sc_medium"
|
|
|
|
android:text="@string/credits_1"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:textStyle="bold"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-12-10 14:01:53 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/constraintLayoutExport" />
|
2021-02-07 12:48:25 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewCredits2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:fontFamily="@font/alegreya_sans_sc_medium"
|
|
|
|
android:text="@string/credits_2"
|
|
|
|
android:textSize="18sp"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:textStyle="bold"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/textViewCredits3"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textViewCredits1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewCredits3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="@font/alegreya_sans_sc_medium"
|
|
|
|
android:text="@string/credits_3"
|
|
|
|
android:textSize="18sp"
|
2022-01-06 18:52:59 +00:00
|
|
|
android:textStyle="bold"
|
2021-02-07 12:48:25 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/textViewCredits4"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textViewCredits2" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewCredits4"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="@font/alegreya_sans_sc_medium"
|
|
|
|
android:text="@string/credits_4"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/textViewCredits5"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textViewCredits3" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewCredits5"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="@font/alegreya_sans_sc_medium"
|
|
|
|
android:text="@string/credits_5"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textViewCredits4" />
|
|
|
|
|
2020-12-16 19:26:53 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|