Home | History | Annotate | Download | only in layout-finger
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 **
      4 ** Copyright 2008, The Android Open Source Project
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License");
      7 ** you may not use this file except in compliance with the License.
      8 ** You may obtain a copy of the License at
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software
     13 ** distributed under the License is distributed on an "AS IS" BASIS,
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 ** See the License for the specific language governing permissions and
     16 ** limitations under the License.
     17 */
     18 -->
     19 
     20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:id="@+id/nowplaying"
     22     android:layout_width="match_parent"
     23     android:layout_height="64dip"
     24     android:focusable="true"
     25     android:visibility="gone"
     26     android:background="@drawable/music_bottom_playback_bg"
     27     android:orientation="vertical">
     28 
     29     <LinearLayout
     30         android:layout_width="match_parent"
     31         android:layout_height="match_parent"
     32         android:orientation="horizontal">
     33 
     34         <LinearLayout
     35             android:layout_width="0dip"
     36             android:layout_weight="1"
     37             android:layout_height="wrap_content"
     38             android:layout_gravity="center_vertical"
     39             android:orientation="vertical">
     40 
     41             <TextView
     42                 android:id="@+id/title"
     43                 android:textAppearance="?android:attr/textAppearanceMedium"
     44                 android:singleLine="true"
     45                 android:ellipsize="end"
     46                 android:layout_width="match_parent"
     47                 android:layout_height="wrap_content"
     48             />
     49             <TextView
     50                 android:id="@+id/artist"
     51                 android:textAppearance="?android:attr/textAppearanceSmall"
     52                 android:singleLine="true"
     53                 android:ellipsize="end"
     54                 android:layout_width="match_parent"
     55                 android:layout_height="wrap_content"
     56             />
     57         </LinearLayout>
     58 
     59         <ImageView android:id="@+id/icon"
     60             android:layout_width="wrap_content"
     61             android:layout_height="wrap_content"
     62             android:layout_gravity="center_vertical"
     63             android:layout_marginLeft="16dip"
     64             android:background="@drawable/indicator_ic_mp_playing_large"
     65         />
     66 
     67     </LinearLayout>
     68 </LinearLayout>   
     69 
     70