Jam starten (laufender Song wird der erste) oder per Code/Link beitreten, Jam-Ansicht im Stil von "PC steuern": Teilnehmer, Warteschlange, Einladen per Teilen/Kopieren, Host-Rechte. Die YouTube-Music-WebView gleicht sich mit dem Jam ab; Benachrichtigung und Kopfhoerertasten steuern im Jam den Jam. App-Links jam.fojadrachi.de, playtube://jam/<CODE> und "Teilen" von YouTube-Links. OkHttp fuer den WebSocket. Co-Authored-By: Claude Opus 5.5 <[email protected]>
53 lines
1.9 KiB
XML
53 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/system_bars">
|
|
|
|
<WebView
|
|
android:id="@+id/webView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="3dp"
|
|
android:layout_gravity="top"
|
|
android:max="100"
|
|
android:progressTint="@color/brand_to"
|
|
android:visibility="gone" />
|
|
|
|
<!-- "PC steuern" (PcRemoteActivity). Am rechten Rand mittig: dort liegen bei YouTube Music
|
|
keine festen Bedienelemente (oben Kopfzeile, unten Player und Navigation). -->
|
|
<ImageButton
|
|
android:id="@+id/pcRemoteButton"
|
|
android:layout_width="44dp"
|
|
android:layout_height="44dp"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:layout_marginEnd="6dp"
|
|
android:alpha="0.85"
|
|
android:background="@drawable/bg_play_button"
|
|
android:contentDescription="@string/pc_open"
|
|
android:padding="10dp"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/ic_pc_remote" />
|
|
|
|
<!-- Playtube Jam (JamActivity): direkt unter "PC steuern". -->
|
|
<ImageButton
|
|
android:id="@+id/jamButton"
|
|
android:layout_width="44dp"
|
|
android:layout_height="44dp"
|
|
android:layout_gravity="end|center_vertical"
|
|
android:layout_marginTop="56dp"
|
|
android:layout_marginEnd="6dp"
|
|
android:alpha="0.85"
|
|
android:background="@drawable/bg_play_button"
|
|
android:contentDescription="@string/jam_open"
|
|
android:padding="10dp"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/ic_jam" />
|
|
</FrameLayout>
|