107 lines
4.0 KiB
XML
107 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2007 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.
|
|
-->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/audio_player_background">
|
|
|
|
<ImageView
|
|
android:id="@+id/album"
|
|
android:background="@drawable/album_border_large"
|
|
android:layout_width="180dip"
|
|
android:layout_height="180dip"
|
|
android:layout_marginLeft="8dip"
|
|
android:layout_marginRight="0dip"
|
|
android:layout_marginTop="8dip" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@id/album"
|
|
android:layout_alignTop="@id/album"
|
|
android:layout_alignBottom="@id/album"
|
|
android:layout_alignParentRight="true">
|
|
|
|
<ImageButton android:id="@+id/repeat"
|
|
android:layout_width="54dip"
|
|
android:layout_height="36dip"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="4dip"
|
|
android:background="@drawable/btn_playback_top" />
|
|
|
|
<ImageButton android:id="@+id/shuffle"
|
|
android:layout_width="54dip"
|
|
android:layout_height="36dip"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="4dip"
|
|
android:background="@drawable/btn_playback_top" />
|
|
|
|
<TextView android:id="@+id/nowplaying_title"
|
|
android:textSize="20sp"
|
|
android:textColor="#ffffffff"
|
|
android:shadowColor="#ff000000"
|
|
android:shadowDx="0"
|
|
android:shadowDy="0"
|
|
android:shadowRadius="3"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="36dip"
|
|
android:layout_centerHorizontal="true"
|
|
android:padding="4dip"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/nowplaying_title" />
|
|
|
|
<TextView android:id="@+id/artistname"
|
|
android:textSize="20sp"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/nowplaying_title"
|
|
android:layout_marginTop="12dip"
|
|
android:layout_centerHorizontal="true"
|
|
android:padding="4dip" />
|
|
|
|
<TextView android:id="@+id/albumname"
|
|
android:textSize="16sp"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/artistname"
|
|
android:layout_centerHorizontal="true"
|
|
android:padding="4dip" />
|
|
|
|
<TextView android:id="@+id/trackname"
|
|
android:textSize="16sp"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/albumname"
|
|
android:layout_centerHorizontal="true"
|
|
android:padding="4dip" />
|
|
|
|
<include layout="@layout/audio_player_common_controls" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<include layout="@layout/audio_player_common_progress" />
|
|
|
|
</RelativeLayout>
|