The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 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" |
Romain Guy | 5ae9f47 | 2010-01-08 15:07:04 -0800 | [diff] [blame] | 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 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 |
Romain Guy | 5ae9f47 | 2010-01-08 15:07:04 -0800 | [diff] [blame] | 32 | android:layout_width="match_parent" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 33 | android:layout_height="wrap_content" |
| 34 | android:orientation="vertical"> |
| 35 | |
| 36 | <TextView android:id="@+id/trackname" |
Joe Onorato | a1ef162 | 2010-09-07 17:13:15 -0400 | [diff] [blame] | 37 | style="@android:style/TextAppearance.StatusBar.EventContent.Title" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 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" |
Joe Onorato | a1ef162 | 2010-09-07 17:13:15 -0400 | [diff] [blame] | 46 | style="@android:style/TextAppearance.StatusBar.EventContent" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 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> |