Home | History | Annotate | Download | only in layout-port-finger-854x480
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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     <ImageView
     23         android:id="@+id/album"
     24         android:background="@drawable/album_border_large"
     25         android:layout_width="270dip"
     26         android:layout_height="270dip"
     27         android:layout_gravity="center_horizontal"
     28         android:layout_marginTop="0dip" />
     29 
     30     <LinearLayout
     31         android:layout_width="wrap_content"
     32         android:layout_height="0dip"
     33         android:layout_weight="1"
     34         android:orientation="horizontal"
     35         android:layout_gravity="center_horizontal">
     36 
     37        <ImageButton android:id="@+id/curplaylist"
     38             android:src="@drawable/ic_mp_current_playlist_btn"
     39             android:layout_width="85dip"
     40             android:layout_height="54dip" />
     41 
     42        <ImageButton android:id="@+id/shuffle"
     43             android:layout_width="85dip"
     44             android:layout_height="54dip"
     45             android:layout_marginLeft="19dip" />
     46 
     47        <ImageButton android:id="@+id/repeat"
     48             android:layout_width="85dip"
     49             android:layout_height="54dip"
     50             android:layout_marginLeft="19dip" />
     51 
     52     </LinearLayout>
     53 
     54     <LinearLayout android:id="@+id/trackinfo"
     55                   android:layout_width="match_parent"
     56                   android:layout_height="wrap_content"
     57                   android:orientation="vertical">
     58         <LinearLayout
     59             android:layout_width="match_parent"
     60             android:layout_height="wrap_content"
     61             android:orientation="horizontal"
     62             android:baselineAligned="false"
     63             android:paddingLeft="11dip"
     64             android:paddingTop="2dip"
     65             android:paddingBottom="4dip">
     66 
     67             <ImageView
     68                 android:layout_width="wrap_content"
     69                 android:layout_height="wrap_content"
     70                 android:layout_marginRight="4dip"
     71                 android:src="@drawable/ic_mp_artist_playback" />
     72 
     73             <TextView android:id="@+id/artistname"
     74                 android:textSize="18sp"
     75                 android:singleLine="true"
     76                 android:ellipsize="end"
     77                 android:textStyle="bold"
     78                 android:layout_gravity="center_vertical"
     79                 android:layout_width="match_parent"
     80                 android:layout_height="wrap_content" />
     81 
     82         </LinearLayout>
     83 
     84         <LinearLayout
     85             android:layout_width="match_parent"
     86             android:layout_height="wrap_content"
     87             android:orientation="horizontal"
     88             android:baselineAligned="false"
     89             android:paddingLeft="11dip"
     90             android:paddingTop="4dip"
     91             android:paddingBottom="8dip">
     92 
     93             <ImageView
     94                 android:layout_width="wrap_content"
     95                 android:layout_height="wrap_content"
     96                 android:layout_marginRight="4dip"
     97                 android:src="@drawable/ic_mp_album_playback" />
     98 
     99             <TextView android:id="@+id/albumname"
    100                 android:textSize="14sp"
    101                 android:singleLine="true"
    102                 android:ellipsize="end"
    103                 android:layout_gravity="center_vertical"
    104                 android:layout_width="match_parent"
    105                 android:layout_height="wrap_content" />
    106 
    107         </LinearLayout>
    108 
    109         <LinearLayout
    110             android:layout_width="match_parent"
    111             android:layout_height="wrap_content"
    112             android:orientation="horizontal"
    113             android:baselineAligned="false"
    114             android:paddingLeft="11dip"
    115             android:paddingTop="0dip"
    116             android:paddingBottom="8dip">
    117 
    118             <ImageView
    119                 android:layout_width="wrap_content"
    120                 android:layout_height="wrap_content"
    121                 android:layout_marginRight="4dip"
    122                 android:src="@drawable/ic_mp_song_playback" />
    123 
    124             <TextView android:id="@+id/trackname"
    125                 android:textSize="14sp"
    126                 android:singleLine="true"
    127                 android:ellipsize="end"
    128                 android:layout_gravity="center_vertical"
    129                 android:layout_width="match_parent"
    130                 android:layout_height="wrap_content" />
    131 
    132         </LinearLayout>
    133     </LinearLayout>
    134 
    135     <include layout="@layout/audio_player_common" />
    136 
    137 </LinearLayout>
    138