item_server_select.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:padding="8dp"
  7. android:gravity="center_vertical"
  8. android:orientation="horizontal">
  9. <io.legado.app.lib.theme.view.ThemeRadioButton
  10. android:id="@+id/rb_server"
  11. android:layout_width="0dp"
  12. android:layout_height="wrap_content"
  13. android:layout_gravity="center"
  14. android:layout_weight="1"
  15. android:singleLine="true" />
  16. <androidx.appcompat.widget.AppCompatImageView
  17. android:id="@+id/iv_edit"
  18. android:layout_width="36dp"
  19. android:layout_height="36dp"
  20. android:layout_gravity="center"
  21. android:background="?android:attr/selectableItemBackgroundBorderless"
  22. android:contentDescription="@string/edit"
  23. android:padding="6dp"
  24. android:src="@drawable/ic_edit" />
  25. <androidx.appcompat.widget.AppCompatImageView
  26. android:id="@+id/iv_delete"
  27. android:layout_width="36dp"
  28. android:layout_height="36dp"
  29. android:padding="6dp"
  30. android:background="?attr/selectableItemBackgroundBorderless"
  31. android:src="@drawable/ic_clear_all"
  32. android:contentDescription="@string/delete"
  33. tools:ignore="RtlHardcoded" />
  34. </LinearLayout>