dialog_verification_code_view.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content"
  7. android:orientation="vertical">
  8. <androidx.appcompat.widget.Toolbar
  9. android:id="@+id/tool_bar"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:background="@color/background_menu"
  13. android:elevation="5dp"
  14. android:theme="?attr/actionBarStyle"
  15. app:popupTheme="@style/AppTheme.PopupOverlay"
  16. app:title="@string/input_verification_code"
  17. app:titleTextAppearance="@style/ToolbarTitle" />
  18. <androidx.appcompat.widget.AppCompatImageView
  19. android:id="@+id/verification_code_image_view"
  20. android:layout_width="match_parent"
  21. android:layout_height="100dp"
  22. android:background="?android:attr/selectableItemBackgroundBorderless"
  23. android:scaleType="centerCrop"
  24. tools:ignore="UnusedAttribute" />
  25. <io.legado.app.ui.widget.text.TextInputLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:layout_marginTop="8dp"
  29. android:padding="3dp">
  30. <io.legado.app.lib.theme.view.ThemeEditText
  31. android:id="@+id/verification_code"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:hint="@string/verification_code"
  35. tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
  36. </io.legado.app.ui.widget.text.TextInputLayout>
  37. </LinearLayout>