Permalink
Browse files

Final Touches

  • Loading branch information...
dragosholban committed Mar 9, 2018
1 parent 572eca9 commit a8d23a45fb96f610c5a6da67a2f3afd489f57849
Binary file not shown.
Binary file not shown.
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="dragosholban.com.androidpuzzlegame.MainActivity">
tools:context="dragosholban.com.androidpuzzlegame.MainActivity"
android:background="@drawable/table_background">
<GridView
android:id="@+id/grid"
@@ -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"
@@ -4,7 +4,7 @@
android:layout_height="match_parent"
android:gravity="center"
android:padding="2dp"
android:background="@color/colorPrimary"
android:background="@drawable/puzzle_frame"
>
<ImageView

0 comments on commit a8d23a4

Please sign in to comment.