2025-03-26 12:44:00 -04:00
|
|
|
|
<?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"
|
|
|
|
|
android:background="@color/black"
|
2025-03-26 16:09:03 -04:00
|
|
|
|
android:fitsSystemWindows="true"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
2025-03-26 16:09:03 -04:00
|
|
|
|
<!-- Game Container with Glow -->
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/gameContainer"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
2025-03-26 16:09:03 -04:00
|
|
|
|
android:layout_margin="16dp"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2025-03-26 16:09:03 -04:00
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
|
<com.mintris.game.GameView
|
|
|
|
|
android:id="@+id/gameView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
|
|
<!-- Glowing Border -->
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/glowBorder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/glow_border" />
|
|
|
|
|
</FrameLayout>
|
2025-03-26 19:13:43 -04:00
|
|
|
|
|
|
|
|
|
<!-- Title Screen -->
|
|
|
|
|
<com.mintris.game.TitleScreen
|
|
|
|
|
android:id="@+id/titleScreen"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
|
|
|
|
<!-- HUD Container - Score, Level, Lines -->
|
|
|
|
|
<LinearLayout
|
2025-03-26 19:13:43 -04:00
|
|
|
|
android:id="@+id/gameControlsContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/hudContainer"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-03-26 19:13:43 -04:00
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:orientation="vertical">
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
2025-03-26 19:13:43 -04:00
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/scoreText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="32sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
tools:text="score: 0" />
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
2025-03-26 19:13:43 -04:00
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/currentLevelText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="32sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
tools:text="level: 1" />
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
2025-03-26 19:13:43 -04:00
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/linesText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="32sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
tools:text="lines: 0" />
|
2025-03-27 08:51:10 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/comboText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="32sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
tools:text="combo: 0" />
|
2025-03-26 19:13:43 -04:00
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Next Piece Preview -->
|
2025-03-29 23:20:14 -04:00
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-03-26 19:13:43 -04:00
|
|
|
|
android:layout_margin="16dp"
|
2025-03-29 23:20:14 -04:00
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="NEXT"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:layout_marginBottom="4dp" />
|
|
|
|
|
|
|
|
|
|
<com.mintris.game.NextPieceView
|
|
|
|
|
android:id="@+id/nextPieceView"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="80dp" />
|
|
|
|
|
</LinearLayout>
|
2025-03-26 19:13:43 -04:00
|
|
|
|
|
|
|
|
|
<!-- Settings button -->
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/pauseButton"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_gravity="start"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
|
android:contentDescription="@string/settings"
|
|
|
|
|
android:padding="12dp"
|
|
|
|
|
android:src="@drawable/ic_pause" />
|
|
|
|
|
</LinearLayout>
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
2025-03-29 23:20:14 -04:00
|
|
|
|
<!-- Hold Piece Preview -->
|
|
|
|
|
<com.mintris.game.HoldPieceView
|
|
|
|
|
android:id="@+id/holdPieceView"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
2025-03-26 12:44:00 -04:00
|
|
|
|
<!-- Game Over overlay -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/gameOverContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/black"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/gameOverText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/game_over"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="36sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-03-27 17:06:39 -04:00
|
|
|
|
android:text="@string/session_stats"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="28sp"
|
2025-03-27 17:06:39 -04:00
|
|
|
|
android:textStyle="bold"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:fontFamily="sans-serif"
|
2025-03-27 17:06:39 -04:00
|
|
|
|
android:layout_marginTop="24dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionScoreText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionLinesText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionPiecesText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionTimeText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionLevelText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/line_clears"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="28sp"
|
2025-03-27 17:06:39 -04:00
|
|
|
|
android:textStyle="bold"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:fontFamily="sans-serif"
|
2025-03-27 17:06:39 -04:00
|
|
|
|
android:layout_marginTop="16dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionSinglesText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionDoublesText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionTriplesText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 17:06:39 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sessionTetrisesText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/playAgainButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/play"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-26 12:44:00 -04:00
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2025-03-27 21:19:28 -04:00
|
|
|
|
<!-- Player Progression Screen -->
|
|
|
|
|
<com.mintris.ui.ProgressionScreen
|
|
|
|
|
android:id="@+id/progressionScreen"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
2025-03-26 16:09:03 -04:00
|
|
|
|
<!-- Settings Menu overlay -->
|
2025-03-26 12:44:00 -04:00
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/pauseContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/black"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
2025-03-27 22:24:48 -04:00
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2025-03-26 16:09:03 -04:00
|
|
|
|
android:layout_height="wrap_content"
|
2025-03-27 22:24:48 -04:00
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:gravity="center"
|
2025-03-31 13:46:44 -04:00
|
|
|
|
android:layout_marginTop="32dp"
|
2025-03-27 22:24:48 -04:00
|
|
|
|
android:layout_marginBottom="32dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
2025-03-28 09:11:59 -04:00
|
|
|
|
android:id="@+id/settingsTitle"
|
2025-03-27 22:24:48 -04:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/settings"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 22:24:48 -04:00
|
|
|
|
|
|
|
|
|
<com.mintris.ui.LevelBadge
|
|
|
|
|
android:id="@+id/pauseLevelBadge"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2025-03-26 16:09:03 -04:00
|
|
|
|
|
2025-03-27 21:19:28 -04:00
|
|
|
|
<ScrollView
|
2025-03-31 13:46:44 -04:00
|
|
|
|
android:id="@+id/pauseMenuScrollView"
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
2025-03-28 12:33:42 -04:00
|
|
|
|
android:layout_weight="1"
|
2025-03-31 13:46:44 -04:00
|
|
|
|
android:scrollbars="none"
|
|
|
|
|
android:overScrollMode="never"
|
|
|
|
|
android:fillViewport="false">
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:layout_width="match_parent"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:layout_height="wrap_content"
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:orientation="vertical"
|
2025-03-28 12:33:42 -04:00
|
|
|
|
android:gravity="center"
|
2025-03-31 13:46:44 -04:00
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="32dp">
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
|
|
|
|
<Button
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:id="@+id/pauseStartButton"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:background="@color/transparent"
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:text="@string/start"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/resumeButton"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/resume"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/pauseRestartButton"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/restart"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/highScoresButton"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/high_scores"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/statsButton"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/stats"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
2025-03-31 13:42:09 -04:00
|
|
|
|
<!-- Level Selection -->
|
2025-03-27 21:19:28 -04:00
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2025-03-31 13:42:09 -04:00
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="16dp">
|
2025-03-26 12:44:00 -04:00
|
|
|
|
|
2025-03-27 21:19:28 -04:00
|
|
|
|
<TextView
|
2025-03-28 09:11:59 -04:00
|
|
|
|
android:id="@+id/selectLevelText"
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/select_level"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginTop="8dp">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/pauseLevelDownButton"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="−"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/pauseLevelText"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="1"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="24sp"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/pauseLevelUpButton"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="+"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2025-03-31 13:38:38 -04:00
|
|
|
|
<!-- Sound Toggle -->
|
2025-03-26 12:44:00 -04:00
|
|
|
|
<Button
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:id="@+id/settingsButton"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:background="@color/transparent"
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:text="@string/sound_on"
|
2025-03-26 12:44:00 -04:00
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
2025-03-31 13:38:38 -04:00
|
|
|
|
<!-- Music Toggle -->
|
2025-03-27 21:19:28 -04:00
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
2025-03-31 13:42:09 -04:00
|
|
|
|
android:gravity="center"
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:layout_marginTop="16dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
2025-03-28 09:11:59 -04:00
|
|
|
|
android:id="@+id/musicText"
|
2025-03-27 21:19:28 -04:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/music"
|
|
|
|
|
android:textColor="@color/white"
|
2025-03-29 02:21:15 -04:00
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
2025-03-31 13:42:09 -04:00
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/musicToggle"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp"
|
2025-03-31 13:42:09 -04:00
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:src="@drawable/ic_volume_up"
|
|
|
|
|
android:contentDescription="@string/music" />
|
2025-03-27 21:19:28 -04:00
|
|
|
|
</LinearLayout>
|
2025-03-31 16:02:30 -04:00
|
|
|
|
|
|
|
|
|
<!-- Customization Button -->
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/customizationButton"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/customization"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Customization Menu overlay -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/customizationContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/black"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
|
android:layout_marginBottom="32dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/customizationTitle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/customization"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
|
|
<com.mintris.ui.LevelBadge
|
|
|
|
|
android:id="@+id/customizationLevelBadge"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
|
android:id="@+id/customizationMenuScrollView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scrollbars="none"
|
|
|
|
|
android:overScrollMode="never"
|
|
|
|
|
android:fillViewport="false">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="32dp">
|
|
|
|
|
|
2025-03-31 13:38:38 -04:00
|
|
|
|
<!-- Theme Selector -->
|
|
|
|
|
<com.mintris.ui.ThemeSelector
|
2025-03-31 16:02:30 -04:00
|
|
|
|
android:id="@+id/customizationThemeSelector"
|
2025-03-31 13:38:38 -04:00
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="16dp" />
|
2025-03-31 13:42:09 -04:00
|
|
|
|
|
2025-03-31 13:38:38 -04:00
|
|
|
|
<!-- Block Skin Selector -->
|
|
|
|
|
<com.mintris.ui.BlockSkinSelector
|
2025-03-31 16:02:30 -04:00
|
|
|
|
android:id="@+id/customizationBlockSkinSelector"
|
2025-03-31 13:38:38 -04:00
|
|
|
|
android:layout_width="match_parent"
|
2025-03-31 16:02:30 -04:00
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
|
<!-- Back Button -->
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/customizationBackButton"
|
|
|
|
|
android:layout_width="200dp"
|
2025-03-31 13:38:38 -04:00
|
|
|
|
android:layout_height="wrap_content"
|
2025-03-31 16:02:30 -04:00
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/back"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
|
android:textAllCaps="false" />
|
2025-03-26 12:44:00 -04:00
|
|
|
|
</LinearLayout>
|
2025-03-27 21:19:28 -04:00
|
|
|
|
</ScrollView>
|
2025-03-26 12:44:00 -04:00
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|