dialog_mfa_challenge.xml (2163B)
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="24dp" 25 android:paddingTop="16dp" 26 android:paddingEnd="24dp" 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 <com.google.android.material.textfield.TextInputLayout 38 android:id="@+id/mfaCodeInputLayout" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:hint="@string/mfa_challenge_code_hint" 42 app:boxBackgroundMode="outline" 43 app:boxBackgroundColor="@android:color/transparent"> 44 45 <com.google.android.material.textfield.TextInputEditText 46 android:id="@+id/mfaCodeInput" 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content" 49 android:imeOptions="actionDone" 50 android:inputType="number" /> 51 </com.google.android.material.textfield.TextInputLayout> 52 53 </LinearLayout>