<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.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"> <TableLayout android:id="@+id/tableLayout" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <TableRow android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/imageView1" android:layout_width="210dp" android:layout_height="210dp" app:srcCompat="@drawable/ic_launcher_foreground" tools:ignore="ContentDescription" tools:srcCompat="@drawable/ny_pizza" /> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center"> <Button android:id="@+id/to_order_forum_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="toOrderForum" android:text="@string/to_order_forum_button"/> </LinearLayout> </TableRow> <TableRow android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/imageView2" android:layout_width="210dp" android:layout_height="210dp" app:srcCompat="@drawable/ic_launcher_foreground" tools:ignore="ContentDescription" tools:srcCompat="@drawable/current_order"/> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center"> <Button android:id="@+id/to_order_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="toOrders" android:text="@string/to_order_button"/> </LinearLayout> </TableRow> <TableRow android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/imageView3" android:layout_width="210dp" android:layout_height="210dp" app:srcCompat="@drawable/ic_launcher_foreground" tools:ignore="ContentDescription" tools:srcCompat="@drawable/store_orders"/> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center"> <Button android:id="@+id/to_store_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="toStore" android:text="@string/to_store_button"/> </LinearLayout> </TableRow> </TableLayout> </android.support.constraint.ConstraintLayout>