Home | History | Annotate | Download | only in layout-land-finger
      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 
     23     <!-- This is the LinearLayout that contains the album art, function buttons and album/artist/track info -->
     24     <LinearLayout
     25         android:layout_width="match_parent"
     26         android:layout_height="0dip"
     27         android:layout_weight="1"
     28         android:orientation="horizontal">
     29 
     30         <ImageView
     31             android:id="@+id/album"
     32             android:background="@drawable/album_border_large"
     33             android:layout_width="183dip"
     34             android:layout_height="183dip"
     35             android:layout_marginLeft="12dip"
     36             android:layout_marginRight="15dip"
     37             android:layout_marginTop="12dip" />
     38 
     39         <!-- This is the LinearLayout that contains function buttons and album/artist/track info -->
     40         <LinearLayout
     41             android:layout_width="0dip"
     42             android:layout_height="wrap_content"
     43             android:layout_weight="1"
     44             android:orientation="vertical">
     45 
     46             <LinearLayout
     47                 android:layout_width="match_parent"
     48                 android:layout_height="wrap_content"
     49                 android:orientation="horizontal"
     50                 android:paddingTop="20dip" >
     51 
     52                <ImageButton android:id="@+id/curplaylist"
     53                     android:src="@drawable/ic_mp_current_playlist_btn"
     54                     android:layout_width="82dip"
     55                     android:layout_height="45dip"
     56                     android:layout_marginRight="8dip"
     57                     android:nextFocusLeft="@id/curplaylist" />
     58 
     59                <ImageButton android:id="@+id/shuffle"
     60                     android:layout_width="82dip"
     61                     android:layout_height="45dip"
     62                     android:layout_marginRight="8dip" />
     63 
     64                <ImageButton android:id="@+id/repeat"
     65                     android:layout_width="82dip"
     66                     android:layout_height="45dip" />
     67 
     68             </LinearLayout>
     69 
     70             <LinearLayout
     71                 android:layout_width="match_parent"
     72                 android:layout_height="wrap_content"
     73                 android:orientation="horizontal"
     74                 android:baselineAligned="false"
     75                 android:paddingTop="8dip"
     76                 android:paddingBottom="2dip">
     77 
     78                 <ImageView
     79                     android:layout_width="wrap_content"
     80                     android:layout_height="wrap_content"
     81                     android:layout_marginRight="4dip"
     82                     android:src="@drawable/ic_mp_artist_playback" />
     83 
     84                 <TextView android:id="@+id/artistname"
     85                     android:textSize="18sp"
     86                     android:singleLine="true"
     87                     android:ellipsize="end"
     88                     android:textStyle="bold"
     89                     android:layout_gravity="center_vertical"
     90                     android:layout_width="match_parent"
     91                     android:layout_height="wrap_content" />
     92 
     93             </LinearLayout>
     94 
     95             <LinearLayout
     96                 android:layout_width="match_parent"
     97                 android:layout_height="wrap_content"
     98                 android:orientation="horizontal"
     99                 android:baselineAligned="false"
    100                 android:paddingTop="8dip"
    101                 android:paddingBottom="2dip">
    102 
    103                 <ImageView
    104                     android:layout_width="wrap_content"
    105                     android:layout_height="wrap_content"
    106                     android:layout_marginRight="4dip"
    107                     android:src="@drawable/ic_mp_album_playback" />
    108 
    109                 <TextView android:id="@+id/albumname"
    110                     android:textSize="14sp"
    111                     android:singleLine="true"
    112                     android:ellipsize="end"
    113                     android:textStyle="bold"
    114                     android:layout_gravity="center_vertical"
    115                     android:layout_width="match_parent"
    116                     android:layout_height="wrap_content" />
    117 
    118             </LinearLayout>
    119 
    120             <LinearLayout
    121                 android:layout_width="match_parent"
    122                 android:layout_height="wrap_content"
    123                 android:orientation="horizontal"
    124                 android:baselineAligned="false"
    125                 android:paddingTop="4dip"
    126                 android:paddingBottom="2dip">
    127 
    128                 <ImageView
    129                     android:layout_width="wrap_content"
    130                     android:layout_height="wrap_content"
    131                     android:layout_marginRight="4dip"
    132                     android:src="@drawable/ic_mp_song_playback" />
    133 
    134                 <TextView android:id="@+id/trackname"
    135                     android:textSize="14sp"
    136                     android:singleLine="true"
    137                     android:ellipsize="end"
    138                     android:textStyle="bold"
    139                     android:layout_gravity="center_vertical"
    140                     android:layout_width="match_parent"
    141                     android:layout_height="wrap_content" />
    142 
    143             </LinearLayout>
    144 
    145         </LinearLayout>
    146 
    147     </LinearLayout>
    148 
    149     <include layout="@layout/audio_player_common" />
    150 
    151 </LinearLayout>
    152