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=".gra">
- <ImageView
- android:id="@+id/imageView8"
- android:layout_width="561dp"
- android:layout_height="557dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent"
- app:srcCompat="@drawable/question2"
- tools:layout_editor_absoluteY="3dp" />
- <TextView
- android:id="@+id/text"
- android:layout_width="99dp"
- android:layout_height="26dp"
- android:layout_marginTop="16dp"
- android:text="Pytanie "
- android:textColor="#FFFFFF"
- android:textColorHighlight="#00000000"
- android:textColorHint="#00000000"
- app:layout_constraintEnd_toStartOf="@+id/imageView8"
- app:layout_constraintHorizontal_bias="0.502"
- app:layout_constraintStart_toEndOf="@+id/imageView8"
- app:layout_constraintTop_toTopOf="parent" />
- <Button
- android:id="@+id/button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="24dp"
- android:onClick="onClick"
- android:text="A"
- app:layout_constraintTop_toBottomOf="@+id/Question"
- android:textColor="@android:color/white" />
- tools:layout_editor_absoluteX="8dp" />
- <Button
- android:id="@+id/button3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:text="C"
- app:layout_constraintTop_toBottomOf="@+id/button2"
- tools:layout_editor_absoluteX="8dp" />
- <Button
- android:id="@+id/button2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:text="B"
- app:layout_constraintTop_toBottomOf="@+id/button"
- tools:layout_editor_absoluteX="8dp" />
- <Button
- android:id="@+id/button4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="24dp"
- android:text="D"
- app:layout_constraintTop_toBottomOf="@+id/button3"
- tools:layout_editor_absoluteX="8dp" />
- <TextView
- android:id="@+id/wynik"
- android:layout_width="87dp"
- android:layout_height="63dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="4dp"
- android:text="Wynik\n0"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <Button
- android:id="@+id/menu"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="28dp"
- android:text="menu"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent" />
- <TextView
- android:id="@+id/responseTextView"
- android:layout_width="86dp"
- android:layout_height="323dp"
- android:layout_marginTop="24dp"
- android:layout_marginEnd="16dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/Question" />
- <TextView
- android:id="@+id/Time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="60dp"
- android:text="Time"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.474"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/Question"
- android:layout_width="350dp"
- android:layout_height="82dp"
- android:layout_marginTop="40dp"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- android:textSize="26sp"
- app:layout_constraintTop_toBottomOf="@+id/Time"
- tools:layout_editor_absoluteX="16dp" />
- <TextView
- android:id="@+id/odpA"
- android:layout_width="119dp"
- android:layout_height="36dp"
- android:layout_marginStart="20dp"
- android:layout_marginTop="24dp"
- android:textSize="18sp"
- app:layout_constraintStart_toEndOf="@+id/button"
- app:layout_constraintTop_toBottomOf="@+id/Question" />
- <TextView
- android:id="@+id/odpB"
- android:layout_width="120dp"
- android:layout_height="36dp"
- android:layout_marginStart="20dp"
- android:layout_marginTop="28dp"
- android:textSize="18sp"
- app:layout_constraintStart_toEndOf="@+id/button2"
- app:layout_constraintTop_toBottomOf="@+id/odpA" />
- <TextView
- android:id="@+id/odpC"
- android:layout_width="123dp"
- android:layout_height="38dp"
- android:layout_marginStart="24dp"
- android:layout_marginTop="32dp"
- android:textSize="18sp"
- app:layout_constraintStart_toEndOf="@+id/button3"
- app:layout_constraintTop_toBottomOf="@+id/odpB" />
- <TextView
- android:id="@+id/odpD"
- android:layout_width="116dp"
- android:layout_height="43dp"
- android:layout_marginStart="20dp"
- android:layout_marginTop="32dp"
- android:textSize="18sp"
- app:layout_constraintStart_toEndOf="@+id/button4"
- app:layout_constraintTop_toBottomOf="@+id/odpC" />
- <Button
- android:id="@+id/teacher"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="teacher"
- tools:layout_editor_absoluteX="23dp"
- tools:layout_editor_absoluteY="30dp" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement