| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2015 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:lb="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:orientation="horizontal" |
| android:paddingEnd="@dimen/lb_playback_controls_margin_end" |
| android:paddingStart="@dimen/lb_playback_controls_margin_start" |
| lb:rowHeight="wrap_content"> |
| |
| |
| <RelativeLayout |
| android:id="@+id/rowContainer" |
| android:layout_width="match_parent" |
| android:layout_height="48dp" |
| android:background="@drawable/song_row_background" |
| android:focusable="true" |
| android:focusableInTouchMode="true"> |
| |
| <TextView |
| android:id="@+id/trackNumber" |
| android:layout_width="56dp" |
| android:layout_height="match_parent" |
| android:layout_marginLeft="32dp" |
| android:fontFamily="sans-serif-regular" |
| android:gravity="center_vertical" |
| android:text="1" |
| android:textColor="#FFFFFF" |
| android:textSize="18sp"/> |
| |
| |
| <TextView |
| android:id="@+id/trackName" |
| android:layout_width="wrap_content" |
| android:layout_height="48dp" |
| android:layout_alignParentTop="true" |
| android:layout_toEndOf="@+id/trackNumber" |
| android:layout_toLeftOf="@+id/trackDuration" |
| android:fontFamily="sans-serif-regular" |
| android:gravity="center_vertical" |
| android:singleLine="true" |
| android:text="A Song!!11" |
| android:textColor="#FFFFFF" |
| android:textSize="18sp"/> |
| |
| |
| <TextView |
| android:id="@+id/trackDuration" |
| android:layout_width="66dp" |
| android:layout_height="48dp" |
| android:layout_alignParentEnd="true" |
| android:layout_alignParentTop="true" |
| android:layout_marginRight="32dp" |
| android:fontFamily="sans-serif-regular" |
| android:gravity="center_vertical|right" |
| android:text="1:13:54" |
| android:textColor="#80FFFFFF" |
| android:textSize="18sp"/> |
| </RelativeLayout> |
| </LinearLayout> |