Advertisement
Guest User

Untitled

a guest
Feb 26th, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 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. <LinearLayout
  10. android:layout_width="409dp"
  11. android:layout_height="729dp"
  12. android:orientation="vertical"
  13. tools:layout_editor_absoluteX="1dp"
  14. tools:layout_editor_absoluteY="1dp"
  15. tools:ignore="MissingConstraints,VisualLintBounds">
  16.  
  17. <TextView
  18. android:id="@+id/registerAccount"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:background="#008080"
  22. android:text="Rejestruj konto"
  23. android:textAppearance="@style/TextAppearance.AppCompat.Large"
  24. android:textColor="@color/white"
  25. android:textSize="28sp"
  26. tools:ignore="HardcodedText" />
  27.  
  28. <TextView
  29. android:id="@+id/textView2"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:text="Podaj e-mail:" />
  33.  
  34. <EditText
  35. android:id="@+id/emailInput"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:ems="10"
  39. android:inputType="textEmailAddress" />
  40.  
  41. <TextView
  42. android:id="@+id/passwordText"
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:text="Podaj hasło:" />
  46.  
  47. <EditText
  48. android:id="@+id/passwordInput"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. android:ems="10"
  52. android:inputType="textPassword" />
  53.  
  54. <TextView
  55. android:id="@+id/repasword"
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:text="Powtórz hasło:" />
  59.  
  60. <EditText
  61. android:id="@+id/repasswordInput"
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:ems="10"
  65. android:inputType="textPassword" />
  66.  
  67. <androidx.appcompat.widget.AppCompatButton
  68. android:id="@+id/submit"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:layout_gravity="center_vertical|center_horizontal"
  72. android:text="ZATWIERDŹ" />
  73.  
  74. <TextView
  75. android:id="@+id/result"
  76. android:layout_width="match_parent"
  77. android:layout_height="0dp"
  78. android:layout_weight="1"
  79. android:layout_gravity="center_vertical|center_horizontal"
  80. android:textAlignment="center" />
  81.  
  82. </LinearLayout>
  83. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement