bickey

yahoo - activity_main.xml

Feb 10th, 2018
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.11 KB | None | 0 0
  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.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     tools:context="com.example.yahoo.MainActivity">
  8.  
  9.     <EditText
  10.         android:id="@+id/txtName"
  11.         android:layout_width="match_parent"
  12.         android:layout_height="wrap_content"
  13.         android:hint="@string/txtName"
  14.         app:layout_constraintTop_toTopOf="parent" />
  15.  
  16.     <Button
  17.         android:id="@+id/btnProceed"
  18.         android:layout_width="match_parent"
  19.         android:layout_height="wrap_content"
  20.         android:text="@string/btnProceed"
  21.         app:layout_constraintTop_toBottomOf="@id/txtName" />
  22.  
  23.     <ListView
  24.         android:id="@+id/lstCustomers"
  25.         android:layout_width="match_parent"
  26.         android:layout_height="wrap_content"
  27.         app:layout_constraintTop_toBottomOf="@id/btnProceed" />
  28.  
  29. </android.support.constraint.ConstraintLayout>
Add Comment
Please, Sign In to add comment