diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-04-25 17:03:02 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-04-25 17:03:05 -0700 |
commit | cfd014d38cba03ba05f571597b361ab253bff578 (patch) | |
tree | 4256723561dec7ef3ed3507382eb7020724ec570 /app/src/main/res/layout-port/download.xml | |
parent | 8a332a20ec272d59fe74520825b18017a8f0cac3 (diff) | |
download | dsub-cfd014d38cba03ba05f571597b361ab253bff578.tar.gz dsub-cfd014d38cba03ba05f571597b361ab253bff578.tar.bz2 dsub-cfd014d38cba03ba05f571597b361ab253bff578.zip |
Update to gradle
Diffstat (limited to 'app/src/main/res/layout-port/download.xml')
-rw-r--r-- | app/src/main/res/layout-port/download.xml | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/app/src/main/res/layout-port/download.xml b/app/src/main/res/layout-port/download.xml new file mode 100644 index 00000000..96e2c864 --- /dev/null +++ b/app/src/main/res/layout-port/download.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/download_layout_container" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/download_layout" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <github.daneren2005.dsub.view.MyViewFlipper + android:id="@+id/download_playlist_flipper" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1"> + + <RelativeLayout + android:id="@+id/download_album_art_layout" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_weight="1" + android:background="@android:color/transparent"> + + <FrameLayout android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true"> + + <github.daneren2005.dsub.view.RecyclingImageView + android:id="@+id/download_album_art_image" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scaleType="fitCenter" + android:layout_gravity="center_horizontal|top"/> + + <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/download_overlay_buttons" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:background="@color/overlayColor" + android:layout_gravity="center_horizontal|bottom"> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true"> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/download_other_controls_layout" + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal"> + + <ImageButton + android:id="@+id/download_rating_bad" + style="@style/DownloadActionImageButton" + android:src="@drawable/ic_action_rating_bad_dark"/> + + <ImageButton + android:id="@+id/download_star" + style="@style/DownloadActionImageButton" + android:src="@android:drawable/star_big_off"/> + + <ImageButton + android:id="@+id/download_bookmark" + style="@style/DownloadActionImageButton" + android:src="@drawable/ic_menu_bookmark_dark"/> + + <ImageButton + android:id="@+id/download_rating_good" + style="@style/DownloadActionImageButton" + android:src="@drawable/ic_action_rating_good_dark"/> + </LinearLayout> + </LinearLayout> + </RelativeLayout> + </FrameLayout> + + <TextView + android:id="@+id/download_status" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true" + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:singleLine="true" + android:ellipsize="end" + android:textAppearance="?android:attr/textAppearanceSmall" + android:textColor="?android:textColorSecondary"/> + + <TextView + android:id="@+id/download_song_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_above="@+id/download_status" + android:layout_centerHorizontal="true" + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:singleLine="true" + android:textColor="?android:textColorPrimary" + android:textStyle="bold" + android:textSize="18sp" + android:ellipsize="end"/> + + </RelativeLayout> + + <include layout="@layout/download_playlist"/> + + </github.daneren2005.dsub.view.MyViewFlipper> + + <include layout="@layout/download_media_buttons"/> + + <include layout="@layout/download_slider"/> + </LinearLayout> +</FrameLayout> |