Advertisement
zidniryi

xml

Feb 5th, 2019
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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=".EmailActivity">
  8.  
  9. <android.support.design.widget.TextInputLayout
  10. android:id="@+id/input_layout"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content">
  13. </android.support.design.widget.TextInputLayout>
  14.  
  15. <com.rengwuxian.materialedittext.MaterialEditText
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:hint="Email"
  19. android:layout_below="@id/input_layout"
  20. app:met_baseColor="#000"
  21. app:met_primaryColor="#000"
  22. app:met_errorColor="#f22a37"
  23. app:met_floatingLabel="highlight"
  24. android:layout_marginTop="5dp"
  25. android:id="@+id/txtemail"
  26. app:met_singleLineEllipsis="true"
  27. android:inputType="textEmailAddress" />
  28.  
  29. <com.rengwuxian.materialedittext.MaterialEditText
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:hint="Subject"
  33. app:met_baseColor="#000"
  34. app:met_primaryColor="#000"
  35. app:met_errorColor="#f22a37"
  36. app:met_floatingLabel="highlight"
  37. android:layout_marginTop="5dp"
  38. android:id="@+id/txtsubject"
  39. android:layout_below="@id/txtemail"
  40. app:met_singleLineEllipsis="true"
  41. android:inputType="textEmailAddress" />
  42.  
  43. <com.rengwuxian.materialedittext.MaterialEditText
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:hint="Imput Email"
  47. app:met_baseColor="#000"
  48. app:met_primaryColor="#000"
  49. app:met_errorColor="#f22a37"
  50. app:met_floatingLabel="normal"
  51. android:lines="30"
  52. android:gravity="top|left"
  53. android:layout_marginTop="5dp"
  54. android:layout_below="@id/txtsubject"
  55. android:id="@+id/txtemaisi" />
  56.  
  57. <Button
  58. android:text="Send"
  59. android:layout_width="match_parent"
  60. android:layout_height="wrap_content"
  61. android:layout_alignParentBottom="true"
  62. android:layout_alignParentLeft="true"
  63. android:id="@+id/btnemsend" />
  64. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement