dialog_toc_regex_edit.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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="wrap_content"
  6. android:layout_height="wrap_content"
  7. android:padding="16dp">
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_gravity="center"
  12. android:orientation="vertical"
  13. tools:ignore="UselessParent">
  14. <androidx.appcompat.widget.Toolbar
  15. android:id="@+id/tool_bar"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:theme="?attr/actionBarStyle"
  19. app:displayHomeAsUp="false"
  20. app:fitStatusBar="false"
  21. app:popupTheme="@style/AppTheme.PopupOverlay"
  22. app:title="@string/txt_toc_rule"
  23. app:titleTextAppearance="@style/ToolbarTitle" />
  24. <androidx.core.widget.NestedScrollView
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:overScrollMode="ifContentScrolls">
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:orientation="vertical"
  32. android:padding="16dp">
  33. <com.google.android.material.textfield.TextInputLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:hint="@string/name">
  37. <io.legado.app.lib.theme.view.ThemeEditText
  38. android:id="@+id/tv_rule_name"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
  42. </com.google.android.material.textfield.TextInputLayout>
  43. <com.google.android.material.textfield.TextInputLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:hint="@string/regex">
  47. <io.legado.app.lib.theme.view.ThemeEditText
  48. android:id="@+id/tv_rule_regex"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
  52. </com.google.android.material.textfield.TextInputLayout>
  53. <com.google.android.material.textfield.TextInputLayout
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:hint="@string/example">
  57. <io.legado.app.lib.theme.view.ThemeEditText
  58. android:id="@+id/tv_rule_example"
  59. android:layout_width="match_parent"
  60. android:layout_height="wrap_content"
  61. tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
  62. </com.google.android.material.textfield.TextInputLayout>
  63. </LinearLayout>
  64. </androidx.core.widget.NestedScrollView>
  65. </LinearLayout>
  66. </LinearLayout>