aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout-land/activity_offline_game.xml
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2022-12-07 17:55:01 +0100
committerMaksymilian Jopek <maks@jopek.eu>2022-12-07 17:55:01 +0100
commitb6435529d98beb852c2df8def65cce4572468bcc (patch)
tree9365935f6691c2c1e4b7a768a3d55eb3b7802334 /app/src/main/res/layout-land/activity_offline_game.xml
downloadpai-fillo-nai-b6435529d98beb852c2df8def65cce4572468bcc.tar.gz
pai-fillo-nai-b6435529d98beb852c2df8def65cce4572468bcc.tar.zst
pai-fillo-nai-b6435529d98beb852c2df8def65cce4572468bcc.zip
Initial commit,v1.0.1
Diffstat (limited to 'app/src/main/res/layout-land/activity_offline_game.xml')
-rw-r--r--app/src/main/res/layout-land/activity_offline_game.xml233
1 files changed, 233 insertions, 0 deletions
diff --git a/app/src/main/res/layout-land/activity_offline_game.xml b/app/src/main/res/layout-land/activity_offline_game.xml
new file mode 100644
index 0000000..71bb421
--- /dev/null
+++ b/app/src/main/res/layout-land/activity_offline_game.xml
@@ -0,0 +1,233 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:background="@mipmap/bg_offline_game_foreground"
+ tools:context=".OfflineGameActivity">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_weight="2">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="2"
+ android:layout_marginStart="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_marginBottom="10dp"
+ android:layout_marginEnd="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:orientation="horizontal">
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:textSize="19sp"
+ android:textColor="@color/white"
+ android:gravity="center"
+ android:textAlignment="center"
+ android:text="First\nPlayer (O)" />
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/p0Img"
+ android:src="@mipmap/bg_you_in_army"
+ android:layout_weight="1" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="2"
+ android:layout_marginStart="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_marginBottom="10dp"
+ android:layout_marginEnd="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:orientation="horizontal">
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:textSize="19sp"
+ android:textColor="@color/white"
+ android:gravity="center"
+ android:textAlignment="center"
+ android:text="Second\nPlayer (X)" />
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/p1Img"
+ android:src="@mipmap/bg_no_no"
+ android:layout_weight="1" />
+ </LinearLayout>
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:background="@drawable/bg_rounded_grey"
+ android:layout_margin="5dp"
+ android:paddingStart="40dp"
+ android:layout_weight="1">
+<!-- android:paddingEnd="10dp"-->
+<!-- android:paddingTop="10dp"-->
+<!-- android:paddingBottom="10dp"-->
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="10dp">
+ <TextView
+ android:id="@+id/square0"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_margin="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ <TextView
+ android:id="@+id/square1"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_marginTop="5dp"
+ android:layout_marginBottom="5dp"
+ android:layout_marginStart="70dp"
+ android:layout_marginEnd="70dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ <TextView
+ android:id="@+id/square2"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_margin="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+<!-- <ImageView-->
+<!-- android:layout_width="match_parent"-->
+<!-- android:layout_height="match_parent"-->
+<!-- android:src="@mipmap/emptiness_foreground"-->
+<!-- android:id="@+id/square0"-->
+<!-- android:layout_marginTop="10dp"-->
+<!-- android:layout_marginStart="10dp"-->
+<!-- android:layout_marginEnd="10dp"-->
+<!-- android:layout_marginBottom="5dp"-->
+<!-- android:layout_weight="1" />-->
+<!-- <ImageView-->
+<!-- android:layout_width="match_parent"-->
+<!-- android:layout_height="match_parent"-->
+<!-- android:src="@mipmap/emptiness_foreground"-->
+<!-- android:id="@+id/square1"-->
+<!-- android:layout_marginTop="10dp"-->
+<!-- android:layout_marginStart="10dp"-->
+<!-- android:layout_marginEnd="10dp"-->
+<!-- android:layout_marginBottom="5dp"-->
+<!-- android:layout_weight="1" />-->
+<!-- <ImageView-->
+<!-- android:layout_width="match_parent"-->
+<!-- android:layout_height="match_parent"-->
+<!-- android:src="@mipmap/emptiness_foreground"-->
+<!-- android:id="@+id/square2"-->
+<!-- android:layout_marginTop="10dp"-->
+<!-- android:layout_marginStart="10dp"-->
+<!-- android:layout_marginEnd="10dp"-->
+<!-- android:layout_marginBottom="5dp"-->
+<!-- android:layout_weight="1" />-->
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="10dp">
+ <TextView
+ android:id="@+id/square3"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_margin="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ <TextView
+ android:id="@+id/square4"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_marginTop="5dp"
+ android:layout_marginBottom="5dp"
+ android:layout_marginStart="70dp"
+ android:layout_marginEnd="70dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ <TextView
+ android:id="@+id/square5"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_margin="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="10dp">
+ <TextView
+ android:id="@+id/square6"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_margin="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ <TextView
+ android:id="@+id/square7"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_marginTop="5dp"
+ android:layout_marginBottom="5dp"
+ android:layout_marginStart="70dp"
+ android:layout_marginEnd="70dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ <TextView
+ android:id="@+id/square8"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:layout_margin="5dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:gravity="center"
+ android:text="X"
+ android:textAlignment="center"
+ android:textSize="60sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file