62 lines
2.6 KiB
XML
62 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:background="@color/black"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:theme="@style/AdifToolbar"
|
|
android:gravity="center_horizontal"
|
|
android:layout_gravity="center_horizontal"
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:minHeight="?attr/actionBarSize"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentEnd="true"
|
|
app:title="Configure su trayecto"
|
|
app:titleTextColor="@color/white"/>
|
|
<com.adif.elcanomovil.uiDepartures.views.StationHeaderView
|
|
android:id="@+id/station_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/toolbar"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentEnd="true"
|
|
app:isCercanias="true"
|
|
app:observation="false"
|
|
app:observationMessage=""
|
|
app:observationTitle=""
|
|
app:station=""/>
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="56dp"
|
|
android:layout_below="@+id/station_header">
|
|
<include
|
|
android:id="@+id/empty"
|
|
layout="@layout/loading_empty_or_error_common_view"/>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
<com.google.android.material.button.MaterialButton
|
|
android:theme="@style/Avisa.Button"
|
|
android:textColor="@color/white"
|
|
android:id="@+id/creationWidgetButton"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/margin_medium"
|
|
android:text="@string/create_widget_button"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginEnd="@dimen/margin_medium"
|
|
android:layout_alignParentEnd="true"
|
|
app:icon="@drawable/ic_add"
|
|
app:iconGravity="textStart"
|
|
app:iconSize="@dimen/icon_button_width"
|
|
app:iconTint="@null"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintVertical_bias="1"/>
|
|
</RelativeLayout>
|