Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 ** Copyright 2007, 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:orientation="horizontal">
     23 
     24     <ImageView android:id="@+id/icon"
     25         android:padding="4dip"
     26         android:gravity="center"
     27         android:layout_width="wrap_content"
     28         android:layout_height="wrap_content">
     29     </ImageView>
     30 
     31     <LinearLayout
     32         android:layout_width="match_parent"
     33         android:layout_height="wrap_content"
     34         android:orientation="vertical">
     35 
     36         <TextView android:id="@+id/trackname"
     37             style="@android:style/TextAppearance.StatusBar.EventContent.Title"
     38             android:focusable="true"
     39             android:ellipsize="marquee"
     40             android:singleLine="true"
     41             android:layout_gravity="left"
     42             android:layout_width="wrap_content"
     43             android:layout_height="wrap_content" />
     44 
     45         <TextView android:id="@+id/artistalbum"
     46             style="@android:style/TextAppearance.StatusBar.EventContent"
     47             android:layout_gravity="left"
     48             android:maxLines="2"
     49             android:scrollHorizontally="true"
     50             android:ellipsize="end"
     51             android:layout_width="wrap_content"
     52             android:layout_height="wrap_content" />
     53     </LinearLayout>
     54 </LinearLayout>
     55