dialog_source_picker.xml 3.6 KB

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