Initialier Commit

This commit is contained in:
2026-04-19 19:53:02 +02:00
commit 29da89c36e
566 changed files with 56561 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
android:gravity="center"
android:background="@color/background"
android:padding="32dp"
tools:context=".GameActivity">
<ImageView
android:layout_width="160dp"
android:layout_height="160dp"
android:src="@drawable/ic_launcher_foreground"
android:scaleType="fitCenter"
android:layout_marginBottom="48dp"
android:contentDescription="Linkster Logo" />
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="32dp"
android:visibility="gone"
android:indeterminateTint="@color/primary" />
<Button
android:id="@+id/btnNextCard"
android:layout_width="220dp"
android:layout_height="56dp"
android:text="Nächste Karte"
android:textSize="16sp"
android:textStyle="bold"
android:backgroundTint="@color/primary"
android:textColor="@color/white"
android:stateListAnimator="@null" />
</LinearLayout>

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
android:gravity="center"
android:background="@color/background"
android:padding="32dp"
tools:context=".MainActivity">
<!-- Logo -->
<ImageView
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/ic_launcher_foreground"
android:scaleType="fitCenter"
android:layout_marginBottom="12dp"
android:contentDescription="Linkster Logo" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Linkster"
android:textSize="32sp"
android:textStyle="bold"
android:textColor="@color/text_primary"
android:layout_marginBottom="4dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="HitStar QR-Code → Streaming"
android:textSize="13sp"
android:textColor="@color/text_secondary"
android:layout_marginBottom="40dp" />
<!-- Dienst-Auswahl -->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="STREAMING-DIENST"
android:textSize="11sp"
android:letterSpacing="0.12"
android:textColor="@color/text_secondary"
android:layout_marginBottom="8dp" />
<Spinner
android:id="@+id/spinnerService"
android:layout_width="220dp"
android:layout_height="48dp"
android:layout_marginBottom="40dp"
android:background="@drawable/spinner_background"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:popupBackground="@color/surface" />
<!-- Scan-Button -->
<Button
android:id="@+id/btnScan"
android:layout_width="220dp"
android:layout_height="56dp"
android:text="Spiel starten"
android:textSize="16sp"
android:textStyle="bold"
android:backgroundTint="@color/primary"
android:textColor="@color/white"
android:stateListAnimator="@null" />
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:visibility="gone"
android:indeterminateTint="@color/primary" />
<TextView
android:id="@+id/tvStatus"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:gravity="center"
android:textSize="13sp"
android:textColor="@color/text_secondary" />
</LinearLayout>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background">
<androidx.camera.view.PreviewView
android:id="@+id/previewView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- Oberer Hinweis -->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|center_horizontal"
android:layout_marginTop="48dp"
android:text="Karte vor die Kamera halten"
android:textColor="@color/white"
android:textSize="15sp"
android:textStyle="bold"
android:background="@drawable/scan_label_background"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="8dp"
android:paddingBottom="8dp" />
<!-- Abbrechen-Button -->
<Button
android:id="@+id/btnCancel"
android:layout_width="160dp"
android:layout_height="48dp"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginBottom="48dp"
android:text="Abbrechen"
android:textColor="@color/white"
android:backgroundTint="@color/surface"
android:stateListAnimator="@null" />
</FrameLayout>