Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2007 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7   
      8           http://www.apache.org/licenses/LICENSE-2.0
      9   
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     android:orientation="vertical">
     21 
     22     <LinearLayout
     23         android:layout_width="match_parent"
     24         android:layout_height="0dip"
     25         android:layout_weight="1"
     26         android:orientation="horizontal"
     27         android:gravity="center">
     28 
     29         <ImageView
     30             android:id="@+id/album"
     31             android:background="@drawable/album_border_large"
     32             android:layout_width="220dip"
     33             android:layout_height="220dip"
     34             android:layout_marginLeft="4dip"
     35             android:layout_marginRight="2dip"
     36             android:layout_marginTop="8dip" />
     37 
     38         <LinearLayout
     39             android:layout_width="0dip"
     40             android:layout_height="wrap_content"
     41             android:layout_weight="1"
     42             android:orientation="vertical"
     43             android:gravity="center_horizontal">
     44 
     45            <ImageButton android:id="@+id/curplaylist"
     46                 android:src="@drawable/ic_mp_current_playlist_btn"
     47                 android:layout_width="85dip"
     48                 android:layout_height="54dip"
     49                 android:layout_marginTop="14dip" />
     50 
     51            <ImageButton android:id="@+id/shuffle"
     52                 android:layout_width="85dip"
     53                 android:layout_height="54dip"
     54                 android:layout_marginTop="20dip" />
     55 
     56            <ImageButton android:id="@+id/repeat"
     57                 android:layout_width="85dip"
     58                 android:layout_height="54dip"
     59                 android:layout_marginTop="20dip" />
     60 
     61         </LinearLayout>
     62 
     63     </LinearLayout>
     64 
     65     <LinearLayout
     66         android:layout_width="match_parent"
     67         android:layout_height="wrap_content"
     68         android:orientation="horizontal"
     69         android:baselineAligned="false"
     70         android:paddingLeft="11dip"
     71         android:paddingTop="4dip"
     72         android:paddingBottom="8dip">
     73 
     74         <ImageView
     75             android:layout_width="wrap_content"
     76             android:layout_height="wrap_content"
     77             android:layout_marginRight="4dip"
     78             android:src="@drawable/ic_mp_artist_playback" />
     79 
     80         <TextView android:id="@+id/artistname"
     81             android:textSize="18sp"
     82             android:singleLine="true"
     83             android:ellipsize="end"
     84             android:textStyle="bold"
     85             android:layout_gravity="center_vertical"
     86             android:layout_width="match_parent"
     87             android:layout_height="wrap_content" />
     88 
     89     </LinearLayout>
     90 
     91     <LinearLayout
     92         android:layout_width="match_parent"
     93         android:layout_height="wrap_content"
     94         android:orientation="horizontal"
     95         android:baselineAligned="false"
     96         android:paddingLeft="11dip"
     97         android:paddingTop="4dip"
     98         android:paddingBottom="8dip">
     99 
    100         <ImageView
    101             android:layout_width="wrap_content"
    102             android:layout_height="wrap_content"
    103             android:layout_marginRight="4dip"
    104             android:src="@drawable/ic_mp_album_playback" />
    105 
    106         <TextView android:id="@+id/albumname"
    107             android:textSize="14sp"
    108             android:singleLine="true"
    109             android:ellipsize="end"
    110             android:layout_gravity="center_vertical"
    111             android:layout_width="match_parent"
    112             android:layout_height="wrap_content" />
    113 
    114     </LinearLayout>
    115 
    116     <LinearLayout
    117         android:layout_width="match_parent"
    118         android:layout_height="wrap_content"
    119         android:orientation="horizontal"
    120         android:baselineAligned="false"
    121         android:paddingLeft="11dip"
    122         android:paddingTop="0dip"
    123         android:paddingBottom="8dip">
    124 
    125         <ImageView
    126             android:layout_width="wrap_content"
    127             android:layout_height="wrap_content"
    128             android:layout_marginRight="4dip"
    129             android:src="@drawable/ic_mp_song_playback" />
    130 
    131         <TextView android:id="@+id/trackname"
    132             android:textSize="14sp"
    133             android:singleLine="true"
    134             android:ellipsize="end"
    135             android:layout_gravity="center_vertical"
    136             android:layout_width="match_parent"
    137             android:layout_height="wrap_content" />
    138 
    139     </LinearLayout>
    140 
    141     <include layout="@layout/audio_player_common" />
    142 
    143 </LinearLayout>
    144