diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2022-12-14 17:42:14 +0100 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2022-12-14 17:42:14 +0100 |
| commit | 28aad1c29cbd6a1bfb6b2ec7955f50f2b9ccb471 (patch) | |
| tree | 7ba6158468c6f54214330217d3db64c9951cbc73 /app/src/main/res/layout-land/activity_online_game.xml | |
| parent | 056e25ba31dc7e3632c080eea6006b7960d80edf (diff) | |
| download | pai-fillo-nai-28aad1c29cbd6a1bfb6b2ec7955f50f2b9ccb471.tar.gz pai-fillo-nai-28aad1c29cbd6a1bfb6b2ec7955f50f2b9ccb471.tar.zst pai-fillo-nai-28aad1c29cbd6a1bfb6b2ec7955f50f2b9ccb471.zip | |
Fix bot and online layout
Diffstat (limited to 'app/src/main/res/layout-land/activity_online_game.xml')
| -rw-r--r-- | app/src/main/res/layout-land/activity_online_game.xml | 178 |
1 files changed, 123 insertions, 55 deletions
diff --git a/app/src/main/res/layout-land/activity_online_game.xml b/app/src/main/res/layout-land/activity_online_game.xml index 19ff086..9a47c20 100644 --- a/app/src/main/res/layout-land/activity_online_game.xml +++ b/app/src/main/res/layout-land/activity_online_game.xml @@ -45,6 +45,7 @@ android:layout_height="match_parent" android:orientation="vertical" android:background="@drawable/bg_rounded_grey" + android:paddingStart="40dp" android:layout_margin="5dp" android:layout_weight="1"> <LinearLayout @@ -52,82 +53,149 @@ 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" + + <TextView 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:layout_width="100dp" + android:layout_height="100dp" + android:layout_margin="5dp" + android:background="@drawable/bg_rounded_blue" + android:gravity="center" + android:text="" + android:textAlignment="center" + android:textSize="60sp" /> + <TextView 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: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="" + android:textAlignment="center" + android:textSize="60sp" /> + <TextView android:id="@+id/square2" - android:layout_margin="10dp" - android:layout_weight="1" /> + android:layout_width="100dp" + android:layout_height="100dp" + android:layout_margin="5dp" + android:background="@drawable/bg_rounded_blue" + android:gravity="center" + android:text="" + 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"> - <ImageView - android:layout_width="match_parent" - android:layout_height="match_parent" - android:src="@mipmap/emptiness_foreground" + <TextView 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:layout_width="100dp" + android:layout_height="100dp" + android:layout_margin="5dp" + android:background="@drawable/bg_rounded_blue" + android:gravity="center" + android:text="" + android:textAlignment="center" + android:textSize="60sp" /> + <TextView 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: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="" + android:textAlignment="center" + android:textSize="60sp" /> + <TextView android:id="@+id/square5" - android:layout_margin="10dp" - android:layout_weight="1" /> + android:layout_width="100dp" + android:layout_height="100dp" + android:layout_margin="5dp" + android:background="@drawable/bg_rounded_blue" + android:gravity="center" + android:text="" + 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"> - <ImageView - android:layout_width="match_parent" - android:layout_height="match_parent" - android:src="@mipmap/emptiness_foreground" + <TextView 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:layout_width="100dp" + android:layout_height="100dp" + android:layout_margin="5dp" + android:background="@drawable/bg_rounded_blue" + android:gravity="center" + android:text="" + android:textAlignment="center" + android:textSize="60sp" /> + <TextView 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: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="" + android:textAlignment="center" + android:textSize="60sp" /> + <TextView android:id="@+id/square8" - android:layout_margin="10dp" - android:layout_weight="1" /> + android:layout_width="100dp" + android:layout_height="100dp" + android:layout_margin="5dp" + android:background="@drawable/bg_rounded_blue" + android:gravity="center" + android:text="" + android:textAlignment="center" + android:textSize="60sp" /> </LinearLayout> </LinearLayout> </LinearLayout> -</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file +</androidx.constraintlayout.widget.ConstraintLayout> |
