2013-04-06 21:47:24 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
2013-04-09 08:01:45 +02:00
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:orientation="vertical" >
|
|
|
|
|
|
|
|
<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:background="@color/black"
|
|
|
|
a:gravity="left"
|
|
|
|
a:orientation="vertical" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
a:id="@+id/download_album_art_image"
|
|
|
|
a:layout_width="wrap_content"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:layout_alignParentTop="true"
|
|
|
|
a:layout_centerHorizontal="true"
|
|
|
|
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:ellipsize="end"
|
|
|
|
a:singleLine="true"
|
|
|
|
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_above="@+id/download_status"
|
|
|
|
a:layout_centerHorizontal="true"
|
|
|
|
a:layout_gravity="center_horizontal"
|
|
|
|
a:layout_marginLeft="16dip"
|
|
|
|
a:layout_marginRight="16dip"
|
|
|
|
a:layout_marginTop="16dip"
|
|
|
|
a:ellipsize="end"
|
|
|
|
a:singleLine="true"
|
|
|
|
a:textColor="@color/mediaControlForeground"
|
|
|
|
a:textSize="18sp"
|
|
|
|
a:textStyle="bold" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
a:id="@+id/download_visualizer_view_layout"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="60dip"
|
|
|
|
a:layout_above="@+id/download_song_title"
|
|
|
|
a:layout_gravity="center_horizontal"
|
|
|
|
a:layout_marginLeft="80dip"
|
|
|
|
a:layout_marginRight="80dip" />
|
|
|
|
</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="12dip"
|
|
|
|
a:paddingTop="12dip" >
|
|
|
|
|
|
|
|
<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: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: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: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: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: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_star"
|
|
|
|
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:focusable="false"
|
|
|
|
a:src="@drawable/ic_star_hollow" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
a:id="@+id/download_toggle_list"
|
|
|
|
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:paddingRight="4dip"
|
|
|
|
a:src="@drawable/media_toggle_list_normal" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<include layout="@layout/download_slider" />
|
|
|
|
|
|
|
|
<include layout="@layout/download_button_bar_flipper" />
|
|
|
|
|
|
|
|
</LinearLayout>
|