narimetisaigopi

activity_main.xml

May 6th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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:orientation="vertical"
  8. tools:context=".MainActivity">
  9.  
  10. <EditText
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:hint="Email"
  14. android:id="@+id/email"
  15. android:inputType="textEmailAddress"/>
  16.  
  17. <EditText
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:hint="Mobile"
  21. android:id="@+id/mobile"
  22. android:inputType="phone"/>
  23.  
  24.  
  25.  
  26. <Button
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:id="@+id/save"
  30. android:text="Save"/>
  31.  
  32. <Button
  33. android:layout_width="match_parent"
  34. android:layout_height="wrap_content"
  35. android:id="@+id/retrive"
  36. android:text="Retrieve"/>
  37.  
  38.  
  39. </LinearLayout>
Add Comment
Please, Sign In to add comment