dialog_toc_regex.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:orientation="vertical"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  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:theme="?attr/actionBarStyle"
  13. app:titleTextAppearance="@style/ToolbarTitle"
  14. app:popupTheme="@style/AppTheme.PopupOverlay" />
  15. <androidx.recyclerview.widget.RecyclerView
  16. android:id="@+id/recycler_view"
  17. android:layout_width="match_parent"
  18. android:layout_height="0dp"
  19. android:layout_weight="1"
  20. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content">
  24. <Space
  25. android:layout_width="0dp"
  26. android:layout_height="wrap_content"
  27. android:layout_weight="1" />
  28. <TextView
  29. android:id="@+id/tv_cancel"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_marginRight="16dp"
  33. android:padding="12dp"
  34. android:text="@string/cancel"
  35. android:textColor="@color/secondaryText"
  36. tools:ignore="RtlHardcoded" />
  37. <io.legado.app.ui.widget.text.AccentTextView
  38. android:id="@+id/tv_ok"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_marginRight="16dp"
  42. android:padding="12dp"
  43. android:text="@string/ok"
  44. tools:ignore="RtlHardcoded" />
  45. </LinearLayout>
  46. </LinearLayout>