Files
adif-api-reverse-engineering/apk_decompiled/resources/res/layout/subscription_creation_fragment.xml

117 lines
5.6 KiB
XML

<?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"
android:orientation="vertical"
android:background="@android:color/black"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.adif.elcanomovil.commonViews.HeaderView
android:id="@+id/headerSubscriptionHome"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<com.adif.elcanomovil.commonViews.InfoView
android:id="@+id/empty_view"
android:visibility="gone"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/headerSubscriptionHome"/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/container_creation"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/headerSubscriptionHome">
<com.adif.elcanomovil.uiSubscriptions.create.views.JourneyView
android:id="@+id/headerJourneyView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<com.adif.elcanomovil.uiSubscriptions.create.views.TrainView
android:id="@+id/headerTrainView"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/container_anticipation_time"
android:padding="@dimen/small_padding"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="4dp"
app:layout_constraintTop_toBottomOf="@+id/container_creation">
<include
android:id="@+id/anticipation_time"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
layout="@layout/view_anticipation_time"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/container_repetition_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingHorizontal="@dimen/small_padding"
app:layout_constraintTop_toBottomOf="@+id/container_anticipation_time">
<include
android:id="@+id/repetition_time"
app:layout_constraintTop_toTopOf="parent"
layout="@layout/view_repetition_days"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<com.google.android.material.button.MaterialButton
android:theme="@style/Avisa.Button"
android:id="@+id/fab"
android:visibility="visible"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:text="@string/action_button_new_subscription"
android:layout_marginEnd="8dp"
app:icon="@drawable/ic_add"
app:iconGravity="textStart"
app:iconSize="@dimen/icon_button_width"
app:iconTint="@null"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layoutProgressSubscription"
android:background="@color/transparent"
android:focusable="true"
android:focusableInTouchMode="true"
android:visibility="gone"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:layout_gravity="center_horizontal"
android:id="@+id/progressSubscription"
android:background="@color/transparent"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
android:indeterminateTint="@color/colorPrimary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
style="?android:attr/progressBarStyleLarge"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>