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" >
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="0dip"
|
|
|
|
a:layout_weight="1"
|
|
|
|
a:orientation="horizontal" >
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
a:id="@+id/download_control_layout"
|
|
|
|
a:layout_width="wrap_content"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_alignParentRight="true"
|
|
|
|
a:background="@color/mediaControlBackground" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
a:layout_width="wrap_content"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:layout_alignParentLeft="true"
|
|
|
|
a:layout_alignParentTop="true"
|
|
|
|
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_weight="1"
|
|
|
|
a:background="@drawable/list_selector_holo_dark"
|
|
|
|
a:focusable="false"
|
|
|
|
a:gravity="center_vertical"
|
|
|
|
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>
|
|
|
|
|
|
|
|
<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:layout_marginBottom="8dip"
|
|
|
|
a:ellipsize="end"
|
|
|
|
a:singleLine="true"
|
|
|
|
a:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
a:textColor="#c0c0c0" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
a:id="@+id/download_song_title"
|
|
|
|
a:layout_width="150dip"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:layout_above="@+id/download_status"
|
|
|
|
a:layout_centerHorizontal="true"
|
|
|
|
a:layout_gravity="center_horizontal"
|
|
|
|
a:layout_marginLeft="12dip"
|
|
|
|
a:layout_marginRight="12dip"
|
|
|
|
a:layout_marginTop="12dip"
|
|
|
|
a:ellipsize="end"
|
|
|
|
a:gravity="center_horizontal"
|
|
|
|
a:maxLines="2"
|
|
|
|
a:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
a:textColor="@color/mediaControlForeground" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<com.thejoshwa.ultrasonic.androidapp.util.MyViewFlipper
|
|
|
|
a:id="@+id/download_playlist_flipper"
|
|
|
|
a:layout_width="wrap_content"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_alignParentLeft="true"
|
|
|
|
a:layout_toLeftOf="@+id/download_control_layout" >
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
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="horizontal" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
a:id="@+id/download_album_art_image"
|
|
|
|
a:layout_width="wrap_content"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:scaleType="fitCenter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
a:id="@+id/download_visualizer_view_layout"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="60dip"
|
|
|
|
a:layout_gravity="bottom|center_horizontal"
|
|
|
|
a:layout_marginLeft="60dip"
|
|
|
|
a:layout_marginRight="60dip" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<include layout="@layout/download_playlist" />
|
|
|
|
</com.thejoshwa.ultrasonic.androidapp.util.MyViewFlipper>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<include layout="@layout/download_slider" />
|
|
|
|
|
|
|
|
<include layout="@layout/download_button_bar_flipper" />
|
|
|
|
|
|
|
|
</LinearLayout>
|