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:id="@+id/main"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/game_bg"
- android:padding="25dp"
- tools:context=".winScreen">
- <TextView
- android:id="@+id/textView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:text="CONGRATULATIONS!\nYOU FLIPPED ALL PAIRS CORRECTLY!"
- android:textAlignment="center"
- android:textColor="#333131"
- android:textSize="34sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.32" />
- <ImageButton
- android:id="@+id/retryBtn"
- android:layout_width="75dp"
- android:layout_height="75dp"
- android:layout_marginTop="24dp"
- android:layout_marginEnd="70dp"
- android:background="#00FFFFFF"
- android:scaleType="fitCenter"
- android:tint="#437798"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView"
- app:srcCompat="@drawable/reload" />
- <ImageButton
- android:id="@+id/homeBtn"
- android:layout_width="75dp"
- android:layout_height="75dp"
- android:layout_marginStart="70dp"
- android:layout_marginTop="24dp"
- android:background="#00FFFFFF"
- android:scaleType="fitCenter"
- android:tint="#437798"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView"
- app:srcCompat="@drawable/home" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement