mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-24 14:01:33 +01:00
96 lines
4.4 KiB
XML
96 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
|
a:orientation="vertical" a:layout_width="fill_parent" a:layout_height="fill_parent">
|
|
|
|
<com.thejoshwa.ultrasonic.androidapp.util.MyViewFlipper
|
|
a:id="@+id/download_playlist_flipper" a:layout_width="fill_parent"
|
|
a:layout_height="0dip" a:layout_weight="1">
|
|
|
|
<RelativeLayout a:id="@+id/download_album_art_layout"
|
|
a:layout_width="fill_parent" a:layout_height="fill_parent"
|
|
a:layout_weight="1" a:gravity="left" a:orientation="vertical"
|
|
a:background="@color/black">
|
|
|
|
<ImageView a:id="@+id/download_album_art_image"
|
|
a:layout_width="wrap_content" a:layout_height="wrap_content"
|
|
a:layout_centerHorizontal="true" a:layout_alignParentTop="true"
|
|
a:layout_marginTop="0dip" a:scaleType="fitCenter" />
|
|
|
|
<TextView a:id="@+id/download_status" a:layout_width="wrap_content"
|
|
a:layout_height="wrap_content" a:layout_alignParentBottom="true"
|
|
a:layout_centerHorizontal="true" a:singleLine="true" a:ellipsize="end"
|
|
a:textAppearance="?android:attr/textAppearanceSmall" a:textColor="#c0c0c0" />
|
|
|
|
<TextView a:id="@+id/download_song_title" a:layout_width="wrap_content"
|
|
a:layout_height="wrap_content" a:layout_gravity="center_horizontal"
|
|
a:layout_above="@+id/download_status" a:layout_centerHorizontal="true"
|
|
a:layout_marginLeft="16dip" a:layout_marginRight="16dip"
|
|
a:layout_marginTop="16dip" a:singleLine="true"
|
|
a:textColor="@color/mediaControlForeground" a:textStyle="bold"
|
|
a:textSize="18sp" a:ellipsize="end" />
|
|
|
|
<LinearLayout a:id="@+id/download_visualizer_view_layout"
|
|
a:layout_width="fill_parent" a:layout_height="60dip"
|
|
a:layout_marginLeft="80dip" a:layout_marginRight="80dip"
|
|
a:layout_gravity="center_horizontal" a:layout_above="@+id/download_song_title" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<include layout="@layout/download_playlist" />
|
|
|
|
</com.thejoshwa.ultrasonic.androidapp.util.MyViewFlipper>
|
|
|
|
<LinearLayout a:layout_width="fill_parent"
|
|
a:layout_height="wrap_content" a:layout_marginTop="0dip"
|
|
a:background="@color/mediaControlBackground" a:orientation="horizontal"
|
|
a:paddingBottom="0dip" a:paddingTop="0dip">
|
|
|
|
<ImageButton a:id="@+id/download_shuffle" a:layout_width="0dip"
|
|
a:layout_height="match_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:paddingLeft="4dip" a:src="@drawable/media_shuffle_normal" />
|
|
|
|
<ImageButton a:id="@+id/download_previous" a:layout_width="0dp"
|
|
a:layout_height="match_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:padding="0dip" a:src="@drawable/media_backward_normal" />
|
|
|
|
<ImageButton a:id="@+id/download_pause" a:layout_width="0dp"
|
|
a:layout_height="match_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:padding="0dip" a:src="@drawable/media_pause_normal" />
|
|
|
|
<ImageButton a:id="@+id/download_stop" a:layout_width="0dp"
|
|
a:layout_height="match_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:padding="0dip" a:src="@drawable/media_stop_normal" />
|
|
|
|
<ImageButton a:id="@+id/download_start" a:layout_width="0dp"
|
|
a:layout_height="match_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:padding="0dip" a:src="@drawable/media_start_normal" />
|
|
|
|
<ImageButton a:id="@+id/download_next" a:layout_width="0dp"
|
|
a:layout_height="match_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:padding="0dip" a:src="@drawable/media_forward_normal" />
|
|
|
|
<ImageButton a:id="@+id/download_repeat" a:layout_width="0dip"
|
|
a:layout_height="match_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:src="@drawable/media_repeat_off" />
|
|
|
|
<ImageButton a:id="@+id/download_toggle_list"
|
|
a:layout_width="0dip" a:layout_height="fill_parent" a:layout_gravity="center_vertical"
|
|
a:layout_weight="1" a:background="@drawable/list_selector_holo_dark"
|
|
a:paddingRight="4dip" a:src="@drawable/media_toggle_list_normal"
|
|
a:paddingTop="12dip" a:paddingBottom="12dip" />
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/download_slider" />
|
|
|
|
<include layout="@layout/download_button_bar_flipper" />
|
|
|
|
</LinearLayout>
|
|
|