Skip to content

Unofficial YouTube Music / Spotify Premium client for Android, built in Liquid Glass. Audio effects, Spotify Connect, listening history, 8 languages. Rust core on librespot.

1.1 KB
Raw Blame
<?xml version="1.0" encoding="utf-8"?>
<!--
  The widget at its full size: the mark, the song with its controls, and the
  playlists last opened. The glass under it all is a picture the app draws;
  see WidgetGlass.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/background"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clipToOutline="true">

    <ImageView
        android:id="@+id/widget_glass"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:importantForAccessibility="no"
        android:scaleType="fitXY" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:paddingStart="16dp"
        android:paddingTop="12dp"
        android:paddingEnd="12dp"
        android:paddingBottom="14dp">

        <include layout="@layout/widget_header" />

        <include layout="@layout/widget_now_playing" />

        <include layout="@layout/widget_playlist_row" />
    </LinearLayout>
</FrameLayout>