activity_rss_source_edit.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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/title_bar"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. app:contentInsetStartWithNavigation="0dp"
  13. app:displayHomeAsUp="true"
  14. app:title="@string/rss_source_edit" />
  15. <HorizontalScrollView
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:scrollbars="none">
  19. <LinearLayout
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_gravity="center_vertical"
  23. android:orientation="horizontal"
  24. android:paddingHorizontal="8dp"
  25. tools:ignore="VisualLintBounds">
  26. <io.legado.app.lib.theme.view.ThemeCheckBox
  27. android:id="@+id/cb_is_enable"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:checked="true"
  31. android:text="@string/is_enable"
  32. tools:ignore="TouchTargetSizeCheck" />
  33. <io.legado.app.lib.theme.view.ThemeCheckBox
  34. android:id="@+id/cb_single_url"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:checked="false"
  38. android:text="@string/single_url"
  39. tools:ignore="TouchTargetSizeCheck" />
  40. <io.legado.app.lib.theme.view.ThemeCheckBox
  41. android:id="@+id/cb_is_enable_cookie"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:checked="true"
  45. android:text="@string/auto_save_cookie"
  46. tools:ignore="TouchTargetSizeCheck" />
  47. </LinearLayout>
  48. </HorizontalScrollView>
  49. <com.google.android.material.tabs.TabLayout
  50. android:id="@+id/tab_layout"
  51. android:layout_width="match_parent"
  52. android:layout_height="36dp"
  53. android:background="@color/background"
  54. android:elevation="3dp"
  55. tools:ignore="SpeakableTextPresentCheck" />
  56. <androidx.recyclerview.widget.RecyclerView
  57. android:id="@+id/recycler_view"
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent"
  60. android:clipToPadding="false"
  61. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  62. tools:listitem="@layout/item_source_edit" />
  63. </LinearLayout>