Guest User

Untitled

a guest
May 9th, 2021
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/parentView"
  8. tools:context=".views.components.activities.test.TestActivity">
  9.  
  10. <ImageView
  11. android:id="@+id/main"
  12. android:layout_width="0dp"
  13. android:layout_height="0dp"
  14. app:layout_constraintTop_toTopOf="parent"
  15. app:layout_constraintBottom_toBottomOf="parent"
  16. app:layout_constraintStart_toStartOf="parent"
  17. app:layout_constraintEnd_toEndOf="parent"
  18. android:layout_margin="16dp"
  19. android:background="@drawable/flag_kazakhstan"/>
  20.  
  21. <LinearLayout
  22. android:id="@+id/replyLayout"
  23. app:layout_constraintBottom_toBottomOf="parent"
  24. app:layout_constraintStart_toStartOf="parent"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:layout_marginBottom="16dp"
  28. tools:visibility="visible">
  29.  
  30. <EditText
  31. android:id="@+id/edMessage"
  32. android:layout_width="0dp"
  33. android:layout_weight="1"
  34. android:layout_height="wrap_content"
  35. android:textColor="@color/black"
  36. android:hint="add text " />
  37.  
  38. <Button
  39. android:id="@+id/btnSend"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:text="send"/>
  43.  
  44. </LinearLayout>
  45. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment