tubi_tv_seek_bar_bg.xml


Overview

The `tubi_tv_seek_bar_bg.xml` file defines a simple drawable resource used in the Tubi TV Android application. Specifically, it represents the background appearance of the seek bar within the video player controls. This XML file uses Android's `` drawable to specify a solid color fill that visually styles the progress track on the seek bar.

The purpose of this file is to provide a lightweight, reusable graphical asset that can be applied as a background to UI components, ensuring consistent theming aligned with Tubi TV's branding and design guidelines.


File Content and Explanation

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="@color/tubi_tv_player_controls_progress_background" />
</shape>

Elements Description


Usage

This file is intended to be used as the background drawable for the seek bar's progress track in the video player UI. By assigning this drawable as the background, the seek bar displays a consistent color that matches the app's theme.

Example in an Android layout XML:

<SeekBar
    android:id="@+id/video_seek_bar"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:progressDrawable="@drawable/tubi_tv_seek_bar_bg" />

Here, the `tubi_tv_seek_bar_bg` drawable is set as the `progressDrawable` for the `SeekBar`, influencing the visual appearance of the progress bar background.


Implementation Details


Interactions with Other Components


Visual Diagram

Since this file is a simple drawable resource without classes or functions, the most appropriate representation is a **component diagram** showing its relationship to the video player seek bar and the color resource it references.

graph LR
    A[tubi_tv_seek_bar_bg.xml] --> B[@color/tubi_tv_player_controls_progress_background]
    A --> C[SeekBar (Video Player UI)]
    C --> D[Video Player Controls Module]

Summary

Aspect

Description

**File Type**

Android Shape Drawable XML

**Purpose**

Drawable resource for seek bar background color

**Key Element**

`` with `` color fill

**Color Dependency**

References `@color/tubi_tv_player_controls_progress_background`

**Usage Context**

Background of video player seek bar

**Benefits**

Lightweight, scalable, easy to theme


If you need to customize the seek bar background color or style, modify the referenced color resource or extend this drawable with additional shape properties such as corners or gradients.