Advertisement
rohithdsouza

XML notify

Mar 22nd, 2021
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.57 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.     <TextView
  10.        android:id="@+id/textViewMessage"
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        android:layout_marginStart="24dp"
  14.        android:layout_marginTop="50dp"
  15.        android:text="Message"
  16.        android:textSize="24sp"
  17.        app:layout_constraintStart_toStartOf="parent"
  18.        app:layout_constraintTop_toTopOf="parent" />
  19.  
  20.     <EditText
  21.        android:id="@+id/editTextMessage"
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:layout_marginStart="24dp"
  25.        android:layout_marginTop="32dp"
  26.        android:ems="10"
  27.        android:inputType="textPersonName"
  28.        app:layout_constraintStart_toStartOf="parent"
  29.        app:layout_constraintTop_toBottomOf="@+id/textViewMessage" />
  30.  
  31.     <Button
  32.        android:id="@+id/buttonNotify"
  33.        android:layout_width="wrap_content"
  34.        android:layout_height="wrap_content"
  35.        android:layout_marginStart="24dp"
  36.        android:layout_marginTop="50dp"
  37.        android:text="NOTIFY"
  38.        app:layout_constraintStart_toStartOf="parent"
  39.        app:layout_constraintTop_toBottomOf="@+id/editTextMessage" />
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement