Advertisement
AzisMM

activity_main.xml

Feb 7th, 2024 (edited)
1,085
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.59 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.    tools:context=".MainActivity">
  8.  
  9.     <Button
  10.        android:id="@+id/buttonSend"
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        android:layout_marginStart="121dp"
  14.        android:layout_marginTop="15dp"
  15.        android:layout_marginEnd="199dp"
  16.        android:layout_marginBottom="607dp"
  17.        android:text="Button"
  18.        app:layout_constraintBottom_toBottomOf="parent"
  19.        app:layout_constraintEnd_toEndOf="parent"
  20.        app:layout_constraintStart_toStartOf="parent"
  21.        app:layout_constraintTop_toBottomOf="@+id/editTextText" />
  22.  
  23.     <EditText
  24.        android:id="@+id/editTextText"
  25.        android:layout_width="match_parent"
  26.        android:layout_height="50dp"
  27.        android:layout_marginStart="16dp"
  28.        android:layout_marginTop="16dp"
  29.        android:layout_marginEnd="16dp"
  30.        android:layout_marginBottom="15dp"
  31.        android:ems="10"
  32.        android:inputType="text"
  33.        android:text="Name"
  34.        app:layout_constraintBottom_toTopOf="@+id/button"
  35.        app:layout_constraintEnd_toEndOf="parent"
  36.        app:layout_constraintStart_toStartOf="parent"
  37.        app:layout_constraintTop_toTopOf="parent" />
  38. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement