diff options
Diffstat (limited to 'src/AndroidRemote/AndroidApp/res/layout-land/main.xml')
-rw-r--r-- | src/AndroidRemote/AndroidApp/res/layout-land/main.xml | 219 |
1 files changed, 219 insertions, 0 deletions
diff --git a/src/AndroidRemote/AndroidApp/res/layout-land/main.xml b/src/AndroidRemote/AndroidApp/res/layout-land/main.xml new file mode 100644 index 0000000..208ef8f --- /dev/null +++ b/src/AndroidRemote/AndroidApp/res/layout-land/main.xml @@ -0,0 +1,219 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + BansheeRemote + + Copyright (C) 2009 Nikitas Stamatopoulos + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--> + + +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center_horizontal" + > + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:paddingLeft="0dip" + android:paddingTop="20px" + > + + +<ImageView + android:id="@+id/cover" + android:layout_width="200dip" + android:layout_height="200dip" + android:paddingRight="0dip" +/> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingLeft="0dip" + android:paddingTop="0px" + > + +<TextView + android:id="@+id/track" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Track name" + android:paddingTop="5dip" + android:paddingLeft="15dip" + android:textAppearance="?android:attr/textAppearanceLarge" + /> + +<TextView + android:id="@+id/artist" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Artist" + android:paddingLeft="15dip" + android:textAppearance="?android:attr/textAppearanceSmall" + /> + + <TextView + android:id="@+id/album" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Album" + android:paddingLeft="15dip" + android:textAppearance="?android:attr/textAppearanceSmall" + /> + + <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingRight="35dip" + android:paddingTop="20px" + > + + <ImageButton + android:id="@+id/next" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="18dip" android:paddingRight="10dip" + android:paddingTop="0dip" android:paddingBottom="0dip" + android:src="@android:drawable/ic_media_next" + android:layout_alignParentRight="true" + android:background="@null" + android:tint="#00000000" + /> + + <ImageButton + android:id="@+id/playpause" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="18dip" android:paddingRight="18dip" + android:paddingTop="0dip" android:paddingBottom="0dip" + android:src="@android:drawable/ic_media_play" + android:layout_toLeftOf="@id/next" + android:background="@null" + android:tint="#00000000" + /> + + <ImageButton + android:id="@+id/prev" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="0dip" android:paddingRight="18dip" + android:paddingTop="0dip" android:paddingBottom="0dip" + android:src="@android:drawable/ic_media_previous" + android:layout_toLeftOf="@id/playpause" + android:background="@null" + android:tint="#00000000" + /> + <!-- android:background="@null" --> + <ImageButton + android:id="@+id/songs" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="5dip" android:paddingRight="0dip" + android:paddingTop="20dip" android:paddingBottom="0dip" + android:src="@drawable/songs" + android:layout_alignParentRight="true" + android:layout_below="@id/next" + android:background="@null" + android:tint="#00000000" + /> + + <ImageButton + android:id="@+id/albums" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="5dip" android:paddingRight="5dip" + android:paddingTop="20dip" android:paddingBottom="0dip" + android:src="@drawable/album" + android:layout_toLeftOf="@id/songs" + android:layout_below="@id/playpause" + android:background="@null" + android:tint="#00000000" + /> + + <ImageButton + android:id="@+id/artists" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="0dip" android:paddingRight="5dip" + android:paddingTop="20dip" android:paddingBottom="0dip" + android:src="@drawable/artist" + android:layout_toLeftOf="@id/albums" + android:layout_below="@id/prev" + android:background="@null" + android:tint="#00000000" + /> + + +</RelativeLayout> +</LinearLayout> +</LinearLayout> + +<RelativeLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="10dip" + > + + + + <SeekBar + android:id="@+id/seekbar" + android:max="100" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingBottom="5dip" + android:progressDrawable="@drawable/seek_background" + /> + + <TextView + android:id="@+id/seek_position" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="0:00" + android:layout_below="@id/seekbar" + android:textAppearance="?android:attr/textAppearanceSmall" + /> + + <TextView + android:id="@+id/seek_total" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="0:00" + android:layout_below="@id/seekbar" + android:layout_alignParentRight="true" + android:textAppearance="?android:attr/textAppearanceSmall" + /> +</RelativeLayout> + +</LinearLayout> +</ScrollView> |