You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
2.0 KiB
XML
45 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/credit_cards_wrapper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress_bar"
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
android:indeterminate="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="8dp"
|
|
android:translationY="-3dp"
|
|
android:visibility="gone"
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/credit_cards_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
app:layout_constrainedHeight="true"
|
|
tools:listitem="@layout/credit_card_list_item"
|
|
app:layout_constraintTop_toBottomOf="@id/progress_bar"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintBottom_toTopOf="@id/add_credit_card_button"/>
|
|
|
|
<include
|
|
android:id="@+id/add_credit_card_button"
|
|
layout="@layout/layout_add_credit_card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/credit_cards_list" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|