fragment_about_dialog.xml (3367B)
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:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:padding="16dp" 23 tools:context=".AboutDialogFragment"> 24 25 <TextView 26 android:id="@+id/titleView" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:maxLines="1" 30 android:text="@string/about_title" 31 android:textAppearance="@style/TextAppearance.AppCompat.Headline" 32 app:layout_constraintEnd_toEndOf="parent" 33 app:layout_constraintStart_toStartOf="parent" 34 app:layout_constraintTop_toTopOf="parent" /> 35 36 <TextView 37 android:id="@+id/versionView" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:layout_marginTop="16dp" 41 android:text="@string/about_version" 42 app:layout_constraintStart_toStartOf="parent" 43 app:layout_constraintTop_toBottomOf="@+id/titleView" /> 44 45 <TextView 46 android:id="@+id/bankVersionView" 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:layout_marginTop="16dp" 50 android:text="@string/about_supported_bank_api" 51 app:layout_constraintStart_toStartOf="parent" 52 app:layout_constraintTop_toBottomOf="@+id/versionView" /> 53 54 <TextView 55 android:id="@+id/licenseView" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:layout_marginTop="16dp" 59 android:text="@string/about_license" 60 app:layout_constraintStart_toStartOf="parent" 61 app:layout_constraintTop_toBottomOf="@+id/bankVersionView" /> 62 63 <TextView 64 android:id="@+id/copyrightView" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:layout_marginTop="16dp" 68 android:text="@string/about_copyright" 69 app:layout_constraintStart_toStartOf="parent" 70 app:layout_constraintTop_toBottomOf="@+id/licenseView" /> 71 72 <Button 73 android:id="@+id/button" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:layout_marginTop="16dp" 77 android:text="@string/ok" 78 app:layout_constraintEnd_toEndOf="parent" 79 app:layout_constraintTop_toBottomOf="@+id/copyrightView" /> 80 81 </androidx.constraintlayout.widget.ConstraintLayout>