Advertisement
fahad005

binding (xml)

Oct 25th, 2021
912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout>
  3. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    xmlns:tools="http://schemas.android.com/tools"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    android:orientation="vertical"
  9.    tools:context=".MainActivity">
  10.  
  11.     <TextView
  12.        android:layout_width="match_parent"
  13.        android:layout_height="wrap_content"
  14.        android:id="@+id/nameText"
  15.        app:layout_constraintLeft_toLeftOf="parent"
  16.        app:layout_constraintTop_toTopOf="parent"
  17.        android:textSize="20sp"
  18.        />
  19.     <TextView
  20.        android:layout_width="match_parent"
  21.        android:layout_height="wrap_content"
  22.        android:id="@+id/email"
  23.        app:layout_constraintLeft_toLeftOf="parent"
  24.        app:layout_constraintTop_toBottomOf="@id/nameText"
  25.        android:textSize="20sp"
  26.        />
  27.  
  28. </androidx.constraintlayout.widget.ConstraintLayout>
  29. </layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement