aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout-land
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2022-12-12 21:03:38 +0100
committerMaksymilian Jopek <maks@jopek.eu>2022-12-12 21:03:38 +0100
commitac68cc82ddac8d4e1563af505cb5b3b71b8cf120 (patch)
tree4d95a353c0d5413a7345f7ee79620dd3e4d536ff /app/src/main/res/layout-land
parent82652521d71c7fb01762203d740b7c73068098c0 (diff)
downloadpai-fillo-nai-ac68cc82ddac8d4e1563af505cb5b3b71b8cf120.tar.gz
pai-fillo-nai-ac68cc82ddac8d4e1563af505cb5b3b71b8cf120.tar.zst
pai-fillo-nai-ac68cc82ddac8d4e1563af505cb5b3b71b8cf120.zip
v1.2.0
All improvements done
Diffstat (limited to 'app/src/main/res/layout-land')
-rw-r--r--app/src/main/res/layout-land/activity_main.xml52
-rw-r--r--app/src/main/res/layout-land/activity_online_game.xml133
2 files changed, 185 insertions, 0 deletions
diff --git a/app/src/main/res/layout-land/activity_main.xml b/app/src/main/res/layout-land/activity_main.xml
new file mode 100644
index 0000000..eb03ff8
--- /dev/null
+++ b/app/src/main/res/layout-land/activity_main.xml
@@ -0,0 +1,52 @@
+<?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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".MainActivity">
+<LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:background="@mipmap/main_bg_foreground"
+ >
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="Pai Fillo Nai"
+ android:textColor="@color/white"
+ android:textSize="60sp"/>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="20dp"
+ >
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="ONLINE"
+ android:id="@+id/txtvOnline"
+ android:layout_margin="20dp"
+ android:textColor="#03A9F4"
+ android:background="@drawable/bg_rounded_rectangle"
+ android:textSize="30sp"/>
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="OFFLINE"
+ android:layout_margin="20dp"
+ android:textColor="#AAAAAA"
+ android:id="@+id/txtvOffline"
+ android:background="@drawable/bg_rounded_rectangle"
+ android:textSize="30sp"/>
+ </LinearLayout>
+</LinearLayout>
+</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout-land/activity_online_game.xml b/app/src/main/res/layout-land/activity_online_game.xml
new file mode 100644
index 0000000..19ff086
--- /dev/null
+++ b/app/src/main/res/layout-land/activity_online_game.xml
@@ -0,0 +1,133 @@
+<?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"
+ 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:layout_weight="2">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="2"
+ android:layout_margin="20dp"
+ android:background="@drawable/bg_rounded_blue"
+ android:orientation="vertical">
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:textSize="30sp"
+ android:textColor="@color/white"
+ android:gravity="center"
+ android:id="@+id/onPlayerName"
+ android:textAlignment="center"
+ android:text="Second Player (X)" />
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/p0Img"
+ android:src="@mipmap/bg_no_no_foreground"
+ 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:layout_weight="1">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="10dp">
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@mipmap/emptiness_foreground"
+ android:id="@+id/square0"
+ android:layout_margin="10dp"
+ 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_margin="10dp"
+ 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_margin="10dp"
+ android:layout_weight="1" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="10dp">
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@mipmap/emptiness_foreground"
+ android:id="@+id/square3"
+ android:layout_margin="10dp"
+ android:layout_weight="1" />
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@mipmap/emptiness_foreground"
+ android:id="@+id/square4"
+ android:layout_margin="10dp"
+ android:layout_weight="1" />
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@mipmap/emptiness_foreground"
+ android:id="@+id/square5"
+ android:layout_margin="10dp"
+ android:layout_weight="1" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="10dp">
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@mipmap/emptiness_foreground"
+ android:id="@+id/square6"
+ android:layout_margin="10dp"
+ android:layout_weight="1" />
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@mipmap/emptiness_foreground"
+ android:id="@+id/square7"
+ android:layout_margin="10dp"
+ android:layout_weight="1" />
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@mipmap/emptiness_foreground"
+ android:id="@+id/square8"
+ android:layout_margin="10dp"
+ android:layout_weight="1" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file