|
|
|
|
@ -11,180 +11,177 @@ |
|
|
|
|
android:paddingEnd="16dp" |
|
|
|
|
android:paddingBottom="8dp"> |
|
|
|
|
|
|
|
|
|
<HorizontalScrollView |
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:fillViewport="true" |
|
|
|
|
android:scrollbars="none"> |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/number" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:text="@string/play" |
|
|
|
|
android:textColor="@color/grey_700" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/player" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="EXO" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/decode" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="硬解" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/speed" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="1.00" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/scale" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="預設" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/text" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:tag="3" |
|
|
|
|
android:text="@string/play_track_text" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/audio" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:tag="1" |
|
|
|
|
android:text="@string/play_track_audio" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/video" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:tag="2" |
|
|
|
|
android:text="@string/play_track_video" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:text="@string/live_other" |
|
|
|
|
android:textColor="@color/grey_700" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/home" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="首頁" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/line" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="來源 1" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/invert" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:text="@string/play_invert" |
|
|
|
|
android:textColor="@color/text" |
|
|
|
|
android:textSize="14sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/across" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:text="@string/play_across" |
|
|
|
|
android:textColor="@color/text" |
|
|
|
|
android:textSize="14sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
</HorizontalScrollView> |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:textColor="@color/grey_800" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:text="005" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/name" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/grey_800" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:text="民視" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/player" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="EXO" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/decode" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="硬解" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/speed" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="1.00" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/scale" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="預設" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/text" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:tag="3" |
|
|
|
|
android:text="@string/play_track_text" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/audio" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:tag="1" |
|
|
|
|
android:text="@string/play_track_audio" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/video" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:tag="2" |
|
|
|
|
android:text="@string/play_track_video" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/home" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
tools:text="首頁" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/line" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="14sp" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:text="來源 1" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/invert" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:text="@string/play_invert" |
|
|
|
|
android:textColor="@color/text" |
|
|
|
|
android:textSize="14sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/across" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:background="@drawable/selector_text" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:text="@string/play_across" |
|
|
|
|
android:textColor="@color/text" |
|
|
|
|
android:textSize="14sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<com.fongmi.android.tv.ui.custom.CustomSeekView |
|
|
|
|
android:id="@+id/seek" |
|
|
|
|
|