dialog_mfa_challenge.xml (3253B)
1 <?xml version="1.0" encoding="utf-8"?> 2 3 <!-- 4 ~ This file is part of GNU Taler 5 ~ (C) 2026 Taler Systems S.A. 6 ~ 7 ~ GNU Taler is free software; you can redistribute it and/or modify it under the 8 ~ terms of the GNU General Public License as published by the Free Software 9 ~ Foundation; either version 3, or (at your option) any later version. 10 ~ 11 ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 12 ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 13 ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. 14 ~ 15 ~ You should have received a copy of the GNU General Public License along with 16 ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 17 --> 18 19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:orientation="vertical" 24 android:paddingStart="16dp" 25 android:paddingTop="16dp" 26 android:paddingEnd="16dp" 27 android:paddingBottom="8dp"> 28 29 <TextView 30 android:id="@+id/mfaMessageView" 31 style="@style/TextAppearance.MaterialComponents.Body2" 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:layout_marginBottom="16dp" 35 android:textColor="?attr/colorOnSurface" /> 36 37 <LinearLayout 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:gravity="center" 41 android:orientation="horizontal"> 42 43 <EditText 44 android:id="@+id/mfaCodeDigit1" 45 style="@style/Widget.Taler.MfaCodeDigit" /> 46 47 <EditText 48 android:id="@+id/mfaCodeDigit2" 49 style="@style/Widget.Taler.MfaCodeDigit" /> 50 51 <EditText 52 android:id="@+id/mfaCodeDigit3" 53 style="@style/Widget.Taler.MfaCodeDigit" /> 54 55 <EditText 56 android:id="@+id/mfaCodeDigit4" 57 style="@style/Widget.Taler.MfaCodeDigit" /> 58 59 <TextView 60 style="@style/TextAppearance.Material3.TitleLarge" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:layout_marginHorizontal="4dp" 64 android:text="-" 65 android:textColor="?attr/colorPrimary" /> 66 67 <EditText 68 android:id="@+id/mfaCodeDigit5" 69 style="@style/Widget.Taler.MfaCodeDigit" /> 70 71 <EditText 72 android:id="@+id/mfaCodeDigit6" 73 style="@style/Widget.Taler.MfaCodeDigit" /> 74 75 <EditText 76 android:id="@+id/mfaCodeDigit7" 77 style="@style/Widget.Taler.MfaCodeDigit" /> 78 79 <EditText 80 android:id="@+id/mfaCodeDigit8" 81 style="@style/Widget.Taler.MfaCodeDigit" /> 82 </LinearLayout> 83 84 <TextView 85 android:id="@+id/mfaCodeErrorView" 86 style="@style/TextAppearance.Material3.BodySmall" 87 android:layout_width="match_parent" 88 android:layout_height="wrap_content" 89 android:layout_marginTop="6dp" 90 android:textColor="?attr/colorError" 91 android:visibility="gone" /> 92 93 </LinearLayout>