Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity">
- <LinearLayout
- android:layout_width="409dp"
- android:layout_height="729dp"
- android:orientation="vertical"
- tools:layout_editor_absoluteX="1dp"
- tools:layout_editor_absoluteY="1dp"
- tools:ignore="MissingConstraints">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="54dp"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/user"
- android:layout_width="157dp"
- android:layout_height="54dp"
- android:layout_weight="1"
- android:width="50dp"
- android:gravity="center"
- android:text="User:"
- tools:ignore="HardcodedText,InefficientWeight,VisualLintBounds" />
- <EditText
- android:id="@+id/userInput"
- android:layout_width="277dp"
- android:layout_height="54dp"
- android:ems="10"
- android:inputType="textPersonName"
- tools:ignore="Autofill,LabelFor,SpeakableTextPresentCheck" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="54dp"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/haslo"
- android:layout_width="63dp"
- android:layout_height="54dp"
- android:layout_weight="1"
- android:width="50dp"
- android:gravity="center"
- android:text="Hasło:"
- tools:ignore="HardcodedText,VisualLintBounds" />
- <EditText
- android:id="@+id/passwordInput"
- android:layout_width="wrap_content"
- android:layout_height="61dp"
- android:layout_weight="1"
- android:ems="10"
- android:inputType="textPassword"
- tools:ignore="Autofill,LabelFor,SpeakableTextPresentCheck,VisualLintBounds" />
- </LinearLayout>
- <CheckBox
- android:id="@+id/zgoda"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="ZGODA"
- tools:ignore="HardcodedText,VisualLintButtonSize" />
- <RadioGroup
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <RadioButton
- android:id="@+id/woman"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Kobieta"
- tools:ignore="HardcodedText,VisualLintButtonSize" />
- <RadioButton
- android:id="@+id/man"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Mężczyzna"
- tools:ignore="HardcodedText,VisualLintButtonSize" />
- </RadioGroup>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Spinner
- android:id="@+id/spinner"
- android:layout_width="162dp"
- android:layout_height="wrap_content"
- android:entries="@array/country_names"
- tools:ignore="TouchTargetSizeCheck" />
- <TextView
- android:id="@+id/country"
- android:layout_width="wrap_content"
- android:layout_height="24dp"
- android:layout_weight="1"
- android:text="KRAJ"
- tools:ignore="HardcodedText,InefficientWeight,TextSizeCheck,VisualLintBounds" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <androidx.appcompat.widget.AppCompatButton
- android:id="@+id/confirm"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="OK"
- android:textAlignment="center"
- tools:ignore="HardcodedText,VisualLintButtonSize" />
- </LinearLayout>
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement