|
@@ -4,18 +4,31 @@ |
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
tools:context="dragosholban.com.androidpuzzlegame.PuzzleActivity"> |
|
|
tools:context="dragosholban.com.androidpuzzlegame.PuzzleActivity" |
|
|
android:background="@drawable/table_background"> |
|
|
|
|
|
<ImageView |
|
|
android:id="@+id/imageView" |
|
|
android:layout_width="0dp" |
|
|
android:layout_height="0dp" |
|
|
android:layout_marginBottom="8dp" |
|
|
android:layout_marginEnd="8dp" |
|
|
android:layout_marginStart="8dp" |
|
|
android:layout_marginTop="8dp" |
|
|
android:alpha="1.0" |
|
|
app:layout_constraintDimensionRatio="H,4:5" |
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
app:srcCompat="@drawable/puzzle_frame" /> |
|
|
|
|
|
<ImageView |
|
|
android:id="@+id/imageView" |
|
|
android:layout_width="0dp" |
|
|
android:layout_height="0dp" |
|
|
android:layout_marginEnd="16dp" |
|
|
android:layout_marginStart="16dp" |
|
|
android:layout_marginTop="18dp" |
|
|
android:scaleType="centerCrop" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintDimensionRatio="H,4:5" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|