67 lines
2.6 KiB
XML
67 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- The ten-minute lower third. A single non-focusable strip pinned to the lower left,
|
|
inside the TV overscan margin, that rolls up from below its own baseline and rolls
|
|
back down again. It never takes the remote and never covers the transport controls. -->
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/player_time_remaining"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|start"
|
|
android:layout_marginStart="52dp"
|
|
android:layout_marginBottom="72dp"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:focusable="false"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/time_remaining_cue_background"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="0dp"
|
|
android:paddingEnd="18dp">
|
|
|
|
<!-- Keep the cue recognisably Memby even when it appears independently of the
|
|
transport OSD. The accent rule still distinguishes ordinary timing cues. -->
|
|
<View
|
|
android:layout_width="3dp"
|
|
android:layout_height="26dp"
|
|
android:background="#FF69CD61" />
|
|
|
|
<ImageView
|
|
android:layout_width="27dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginStart="10dp"
|
|
android:contentDescription="@null"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/emby_logo" />
|
|
|
|
<TextView
|
|
android:id="@+id/player_time_remaining_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:letterSpacing="0.16"
|
|
android:paddingTop="7dp"
|
|
android:paddingBottom="7dp"
|
|
android:text="@string/player_time_remaining_label"
|
|
android:textColor="#99FFFFFF"
|
|
android:textSize="10sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/player_time_remaining_value"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:paddingTop="7dp"
|
|
android:paddingBottom="7dp"
|
|
android:textColor="#FFFFFFFF"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
tools:text="10 mins" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|