Android Demo项目
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

activity_publish_grid.xml 1.2KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent">
  6. <ImageView
  7. android:id="@+id/publish_grid_img"
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. app:layout_constraintBottom_toBottomOf="parent"
  11. app:layout_constraintEnd_toEndOf="parent"
  12. app:layout_constraintStart_toStartOf="parent"
  13. app:layout_constraintTop_toTopOf="parent"
  14. app:srcCompat="@android:drawable/ic_menu_report_image" />
  15. <ImageButton
  16. android:id="@+id/publish_grid_close"
  17. android:layout_width="25dp"
  18. android:layout_height="25dp"
  19. android:layout_marginEnd="8dp"
  20. android:layout_marginTop="8dp"
  21. android:background="@color/colorWhite"
  22. app:layout_constraintEnd_toEndOf="@+id/publish_grid_img"
  23. app:layout_constraintTop_toTopOf="@+id/publish_grid_img"
  24. app:srcCompat="@android:drawable/ic_menu_close_clear_cancel" />
  25. </android.support.constraint.ConstraintLayout>