This commit is contained in:
2026-06-30 17:00:31 +01:00
parent 824ff28001
commit 9d57ed4d0a
8 changed files with 330 additions and 112 deletions

View File

@@ -71,116 +71,150 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:orientation="horizontal">
android:orientation="vertical">
<!-- MESAS OCUPADAS CARD -->
<com.google.android.material.card.MaterialCardView
android:id="@+id/cardReservasHoje"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="6dp"
android:layout_weight="1"
android:foreground="?attr/selectableItemBackground"
app:cardBackgroundColor="@color/colorSurface"
app:cardBackgroundColor="#1F1D1A"
app:cardCornerRadius="16dp"
app:cardElevation="2dp">
<LinearLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:padding="16dp">
android:padding="20dp">
<TextView
android:id="@+id/lblMesasOcupadas"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Reservas"
android:textColor="@color/colorTextSecondary"
android:textSize="13sp" />
android:text="MESAS OCUPADAS"
android:textColor="#888175"
android:textSize="14sp"
android:letterSpacing="0.05"
android:fontFamily="serif"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txtReservasHojeDash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="00"
android:textColor="@color/colorPrimary"
android:textSize="30sp"
android:fontFamily="sans-serif-medium" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_marginEnd="6dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/colorSurface"
app:cardCornerRadius="16dp"
app:cardElevation="2dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Mesas"
android:textColor="@color/colorTextSecondary"
android:textSize="13sp" />
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_clock_gold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="@id/lblMesasOcupadas" />
<TextView
android:id="@+id/txtMesasLivresDash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="00"
android:textColor="@color/colorTextPrimary"
android:textSize="30sp"
android:fontFamily="sans-serif-medium" />
</LinearLayout>
android:layout_marginTop="16dp"
android:text="0 / 0"
android:textColor="#FFFFFF"
android:textSize="38sp"
android:fontFamily="serif-monospace"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/lblMesasOcupadas" />
<TextView
android:id="@+id/txtMesasLivresSub"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="0 livres"
android:textColor="#D4AF37"
android:textSize="16sp"
android:fontFamily="sans-serif-medium"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/txtMesasLivresDash" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:layout_width="0dp"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/colorSurface"
app:cardCornerRadius="16dp"
app:cardElevation="2dp">
android:layout_marginTop="12dp"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
<!-- RESERVAS CARD -->
<com.google.android.material.card.MaterialCardView
android:id="@+id/cardReservasHoje"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:padding="16dp">
android:layout_marginEnd="6dp"
android:layout_weight="1"
android:foreground="?attr/selectableItemBackground"
app:cardBackgroundColor="@color/colorSurface"
app:cardCornerRadius="16dp"
app:cardElevation="2dp">
<TextView
android:layout_width="wrap_content"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Espera"
android:textColor="@color/colorTextSecondary"
android:textSize="13sp" />
android:gravity="center"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/txtListaEsperaDash"
android:layout_width="wrap_content"
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Reservas"
android:textColor="@color/colorTextSecondary"
android:textSize="13sp" />
<TextView
android:id="@+id/txtReservasHojeDash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="00"
android:textColor="@color/colorPrimary"
android:textSize="30sp"
android:fontFamily="sans-serif-medium" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<!-- ESPERA CARD -->
<com.google.android.material.card.MaterialCardView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_weight="1"
app:cardBackgroundColor="@color/colorSurface"
app:cardCornerRadius="16dp"
app:cardElevation="2dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="00"
android:textColor="@color/colorWarning"
android:textSize="30sp"
android:fontFamily="sans-serif-medium" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
android:gravity="center"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Espera"
android:textColor="@color/colorTextSecondary"
android:textSize="13sp" />
<TextView
android:id="@+id/txtListaEsperaDash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="00"
android:textColor="@color/colorWarning"
android:textSize="30sp"
android:fontFamily="sans-serif-medium" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</LinearLayout>
<TextView