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

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#CC0A1A12" />
<corners android:radius="24dp" />
</shape>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/surface" />
<corners android:radius="8dp" />
<stroke android:width="1dp" android:color="@color/primary" />
</shape>

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>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="background">#0A1A12</color>
<color name="blue_dark">#1A4A9B</color>
<color name="green_dark">#1A6B3A</color>
<color name="ic_launcher_background">#1A6B3A</color>
<color name="primary">#27A882</color>
<color name="primary_dark">#1B7A6B</color>
<color name="surface">#122B1E</color>
<color name="teal">#1B7A6B</color>
<color name="text_primary">#FFFFFF</color>
<color name="text_secondary">#7FBFA3</color>
<color name="white">#FFFFFF</color>
<string name="app_name">Linkster</string>
<style name="Theme.Linkster" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryVariant">@color/primary_dark</item>
<item name="colorOnPrimary">@color/white</item>
<item name="colorSurface">@color/surface</item>
<item name="colorOnSurface">@color/text_primary</item>
<item name="android:windowBackground">@color/background</item>
<item name="android:statusBarColor">@color/background</item>
<item name="android:navigationBarColor">@color/background</item>
<item name="colorControlNormal">@color/primary</item>
<item name="colorControlActivated">@color/primary</item>
<item name="android:textColorPrimary">@color/text_primary</item>
<item name="android:textColorSecondary">@color/text_secondary</item>
</style>
</resources>