Advertisement
Guest User

Untitled

a guest
Mar 5th, 2023
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 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">
  16.  
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="54dp"
  20. android:orientation="horizontal">
  21.  
  22. <TextView
  23. android:id="@+id/user"
  24.  
  25. android:layout_width="157dp"
  26. android:layout_height="54dp"
  27. android:layout_weight="1"
  28. android:width="50dp"
  29. android:gravity="center"
  30. android:text="User:"
  31. tools:ignore="HardcodedText,InefficientWeight,VisualLintBounds" />
  32.  
  33. <EditText
  34. android:id="@+id/userInput"
  35. android:layout_width="277dp"
  36. android:layout_height="54dp"
  37. android:ems="10"
  38. android:inputType="textPersonName"
  39. tools:ignore="Autofill,LabelFor,SpeakableTextPresentCheck" />
  40.  
  41. </LinearLayout>
  42.  
  43. <LinearLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="54dp"
  46. android:orientation="horizontal">
  47.  
  48. <TextView
  49. android:id="@+id/haslo"
  50. android:layout_width="63dp"
  51. android:layout_height="54dp"
  52. android:layout_weight="1"
  53. android:width="50dp"
  54. android:gravity="center"
  55. android:text="Hasło:"
  56. tools:ignore="HardcodedText,VisualLintBounds" />
  57.  
  58. <EditText
  59. android:id="@+id/passwordInput"
  60. android:layout_width="wrap_content"
  61. android:layout_height="61dp"
  62. android:layout_weight="1"
  63. android:ems="10"
  64. android:inputType="textPassword"
  65. tools:ignore="Autofill,LabelFor,SpeakableTextPresentCheck,VisualLintBounds" />
  66. </LinearLayout>
  67.  
  68. <CheckBox
  69. android:id="@+id/zgoda"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:text="ZGODA"
  73. tools:ignore="HardcodedText,VisualLintButtonSize" />
  74.  
  75. <RadioGroup
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content">
  78.  
  79. <RadioButton
  80. android:id="@+id/woman"
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:text="Kobieta"
  84. tools:ignore="HardcodedText,VisualLintButtonSize" />
  85.  
  86. <RadioButton
  87. android:id="@+id/man"
  88. android:layout_width="match_parent"
  89. android:layout_height="wrap_content"
  90. android:text="Mężczyzna"
  91. tools:ignore="HardcodedText,VisualLintButtonSize" />
  92. </RadioGroup>
  93.  
  94. <LinearLayout
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content"
  97. android:orientation="horizontal">
  98.  
  99. <Spinner
  100. android:id="@+id/spinner"
  101. android:layout_width="162dp"
  102. android:layout_height="wrap_content"
  103. android:entries="@array/country_names"
  104. tools:ignore="TouchTargetSizeCheck" />
  105.  
  106. <TextView
  107. android:id="@+id/country"
  108. android:layout_width="wrap_content"
  109. android:layout_height="24dp"
  110. android:layout_weight="1"
  111. android:text="KRAJ"
  112. tools:ignore="HardcodedText,InefficientWeight,TextSizeCheck,VisualLintBounds" />
  113. </LinearLayout>
  114.  
  115. <LinearLayout
  116. android:layout_width="match_parent"
  117. android:layout_height="match_parent"
  118. android:orientation="horizontal">
  119.  
  120. <androidx.appcompat.widget.AppCompatButton
  121. android:id="@+id/confirm"
  122. android:layout_width="match_parent"
  123. android:layout_height="wrap_content"
  124. android:gravity="center"
  125. android:text="OK"
  126. android:textAlignment="center"
  127. tools:ignore="HardcodedText,VisualLintButtonSize" />
  128. </LinearLayout>
  129.  
  130. </LinearLayout>
  131. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement