This commit is contained in:
ponzischeme89
2026-08-19 06:57:59 +12:00
parent 8c847c59b8
commit 2b43b9ef12
94 changed files with 6359 additions and 778 deletions
@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- A short, non-focusable station ident shown over the first five seconds of content.
For television, the programme logo leads and the episode sits directly beneath it. -->
<!-- The station ident: a short, non-focusable identity treatment over the opening seconds
of a programme. The series (or film) logo leads; for television a compact episode line
sits directly beneath it, subordinate to the logo and readable over any frame.
The logo occupies a fixed box so the episode line sits at the same place whatever the
artwork's proportions are, and so a title with no logo at all does not shift it either.
It shares the top-start corner with the transport's own now-playing block, which is why
only one of the two is ever on screen — see PlaybackIdentity.kt. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/player_playback_identity"
android:layout_width="560dp"
@@ -14,43 +21,54 @@
android:orientation="vertical"
android:visibility="gone">
<ImageView
android:id="@+id/player_playback_identity_logo"
android:layout_width="300dp"
android:layout_height="82dp"
android:adjustViewBounds="true"
android:contentDescription="@string/player_title_logo"
android:scaleType="fitStart"
android:visibility="gone" />
<TextView
android:id="@+id/player_playback_identity_title"
<FrameLayout
android:id="@+id/player_playback_identity_mark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:maxWidth="540dp"
android:shadowColor="#E0000000"
android:shadowDx="0"
android:shadowDy="2"
android:shadowRadius="5"
android:textColor="#FFFFFFFF"
android:textSize="26sp"
android:textStyle="bold" />
android:layout_height="82dp">
<ImageView
android:id="@+id/player_playback_identity_logo"
android:layout_width="300dp"
android:layout_height="match_parent"
android:layout_gravity="start|bottom"
android:adjustViewBounds="true"
android:contentDescription="@string/player_title_logo"
android:scaleType="fitStart"
android:visibility="gone" />
<TextView
android:id="@+id/player_playback_identity_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start|bottom"
android:ellipsize="end"
android:maxLines="1"
android:maxWidth="540dp"
android:shadowColor="#E0000000"
android:shadowDx="0"
android:shadowDy="2"
android:shadowRadius="5"
android:textColor="#FFFFFFFF"
android:textSize="26sp"
android:textStyle="bold"
android:visibility="gone" />
</FrameLayout>
<TextView
android:id="@+id/player_playback_identity_episode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="7dp"
android:layout_marginTop="10dp"
android:background="@drawable/player_identity_episode_background"
android:ellipsize="end"
android:letterSpacing="0.02"
android:maxLines="1"
android:maxWidth="540dp"
android:shadowColor="#E0000000"
android:shadowDx="0"
android:shadowDy="2"
android:shadowRadius="5"
android:textColor="#E6FFFFFF"
android:textSize="19sp"
android:maxWidth="500dp"
android:paddingStart="11dp"
android:paddingTop="5dp"
android:paddingEnd="11dp"
android:paddingBottom="6dp"
android:textColor="#FFFFFFFF"
android:textSize="16sp"
android:visibility="gone" />
</LinearLayout>