fragment_error.xml (2777B)
1 <?xml version="1.0" encoding="utf-8"?><!-- 2 ~ This file is part of GNU Taler 3 ~ (C) 2020 Taler Systems S.A. 4 ~ 5 ~ GNU Taler is free software; you can redistribute it and/or modify it under the 6 ~ terms of the GNU General Public License as published by the Free Software 7 ~ Foundation; either version 3, or (at your option) any later version. 8 ~ 9 ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 10 ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 ~ 13 ~ You should have received a copy of the GNU General Public License along with 14 ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 --> 16 17 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto" 19 xmlns:tools="http://schemas.android.com/tools" 20 android:id="@+id/frameLayout" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent" 23 tools:context=".withdraw.ErrorFragment"> 24 25 <ImageView 26 android:id="@+id/imageView" 27 android:layout_width="0dp" 28 android:layout_height="0dp" 29 android:layout_margin="32dp" 30 android:src="@drawable/ic_error" 31 app:layout_constraintBottom_toTopOf="@+id/textView" 32 app:layout_constraintEnd_toEndOf="parent" 33 app:layout_constraintHorizontal_bias="0.5" 34 app:layout_constraintStart_toStartOf="parent" 35 app:layout_constraintTop_toTopOf="parent" 36 tools:ignore="ContentDescription" /> 37 38 <androidx.appcompat.widget.AppCompatTextView 39 android:id="@+id/textView" 40 android:layout_width="0dp" 41 android:layout_height="0dp" 42 android:layout_margin="32dp" 43 android:textAlignment="center" 44 android:textColor="@color/red" 45 app:autoSizeMaxTextSize="42sp" 46 app:autoSizeTextType="uniform" 47 app:layout_constraintBottom_toTopOf="@+id/backButton" 48 app:layout_constraintEnd_toEndOf="parent" 49 app:layout_constraintHorizontal_bias="0.5" 50 app:layout_constraintStart_toStartOf="parent" 51 app:layout_constraintTop_toBottomOf="@+id/imageView" 52 tools:text="@string/withdraw_error_timeout" /> 53 54 <Button 55 android:id="@+id/backButton" 56 android:layout_width="0dp" 57 android:layout_height="wrap_content" 58 android:layout_margin="16dp" 59 android:text="@string/transaction_button_back" 60 app:layout_constraintBottom_toBottomOf="parent" 61 app:layout_constraintEnd_toEndOf="parent" 62 app:layout_constraintStart_toStartOf="parent" /> 63 64 </androidx.constraintlayout.widget.ConstraintLayout>