dialog_source_picker.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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="match_parent"
  7. android:orientation="vertical">
  8. <io.legado.app.ui.widget.TitleBar
  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:attachToActivity="false"
  14. app:contentLayout="@layout/view_search"
  15. app:fitStatusBar="false"
  16. app:popupTheme="@style/AppTheme.PopupOverlay"
  17. app:titleTextAppearance="@style/ToolbarTitle" />
  18. <FrameLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="0dp"
  21. android:layout_weight="1">
  22. <io.legado.app.ui.widget.recycler.scroller.FastScrollRecyclerView
  23. android:id="@+id/recycler_view"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. android:scrollbars="none"
  27. tools:ignore="SpeakableTextPresentCheck" />
  28. <io.legado.app.ui.widget.anima.RotateLoading
  29. android:id="@+id/rotate_loading"
  30. android:layout_width="36dp"
  31. android:layout_height="36dp"
  32. android:layout_gravity="center"
  33. android:layout_margin="6dp"
  34. android:visibility="gone"
  35. app:loading_width="2dp" />
  36. <TextView
  37. android:id="@+id/tv_msg"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:layout_gravity="center"
  41. android:padding="16dp"
  42. android:textColor="@color/secondaryText"
  43. android:visibility="gone" />
  44. </FrameLayout>
  45. <com.google.android.flexbox.FlexboxLayout
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:paddingLeft="12dp"
  49. android:paddingRight="12dp"
  50. app:flexWrap="wrap"
  51. app:justifyContent="space_between">
  52. <io.legado.app.ui.widget.text.AccentTextView
  53. android:id="@+id/tv_footer_left"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:padding="12dp"
  57. android:visibility="gone"
  58. tools:ignore="RtlHardcoded" />
  59. <Space
  60. android:layout_width="0dp"
  61. android:layout_height="0dp" />
  62. <LinearLayout
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:orientation="horizontal">
  66. <io.legado.app.ui.widget.text.AccentTextView
  67. android:id="@+id/tv_cancel"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:padding="12dp"
  71. android:text="@string/cancel"
  72. android:visibility="gone"
  73. tools:ignore="RtlHardcoded" />
  74. <io.legado.app.ui.widget.text.AccentTextView
  75. android:id="@+id/tv_ok"
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:padding="12dp"
  79. android:text="@string/ok"
  80. android:visibility="gone"
  81. tools:ignore="RtlHardcoded" />
  82. </LinearLayout>
  83. </com.google.android.flexbox.FlexboxLayout>
  84. </LinearLayout>