taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

dialog_mfa_challenge.xml (1436B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      4     xmlns:app="http://schemas.android.com/apk/res-auto"
      5     android:layout_width="match_parent"
      6     android:layout_height="wrap_content"
      7     android:orientation="vertical"
      8     android:paddingStart="24dp"
      9     android:paddingTop="16dp"
     10     android:paddingEnd="24dp"
     11     android:paddingBottom="8dp">
     12 
     13     <TextView
     14         android:id="@+id/mfaMessageView"
     15         style="@style/TextAppearance.Material3.BodyMedium"
     16         android:layout_width="match_parent"
     17         android:layout_height="wrap_content"
     18         android:layout_marginBottom="16dp"
     19         android:textColor="?attr/colorOnSurfaceVariant" />
     20 
     21     <com.google.android.material.textfield.TextInputLayout
     22         android:id="@+id/mfaCodeInputLayout"
     23         android:layout_width="match_parent"
     24         android:layout_height="wrap_content"
     25         android:hint="@string/mfa_challenge_code_hint"
     26         app:boxBackgroundMode="outline"
     27         app:boxBackgroundColor="@android:color/transparent">
     28 
     29         <com.google.android.material.textfield.TextInputEditText
     30             android:id="@+id/mfaCodeInput"
     31             android:layout_width="match_parent"
     32             android:layout_height="wrap_content"
     33             android:imeOptions="actionDone"
     34             android:inputType="number" />
     35     </com.google.android.material.textfield.TextInputLayout>
     36 
     37 </LinearLayout>