OSDN Git Service

95320d96cd629ab520be662773b8b3e2851945ba
[android-x86/packages-apps-Music.git] / res / layout-notouch / audio_player_common.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2007 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7   
8           http://www.apache.org/licenses/LICENSE-2.0
9   
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <merge xmlns:android="http://schemas.android.com/apk/res/android">
18
19     <View 
20         android:layout_width="fill_parent"
21         android:layout_height="1px"
22         android:background="#ffffffff" />
23
24     <LinearLayout
25         android:layout_width="fill_parent"
26         android:layout_height="wrap_content"
27         android:background="#ff5a5a5a"
28         android:paddingTop="1px"
29         android:paddingBottom="4px"
30         android:orientation="horizontal">
31
32         <TextView android:id="@+id/currenttime"
33             android:textAppearance="?android:attr/textAppearanceMedium"
34             android:textSize="14sp"
35             android:textStyle="bold"
36             android:shadowColor="#ff000000"
37             android:shadowDx="0"
38             android:shadowDy="0"
39             android:shadowRadius="3"
40             android:layout_gravity="bottom"
41             android:layout_weight="1"
42             android:layout_width="0dip"
43             android:paddingLeft="5px"
44             android:layout_height="wrap_content" />
45
46         <LinearLayout
47             android:layout_width="wrap_content"
48             android:layout_height="wrap_content"
49             android:orientation="horizontal"
50             android:layout_gravity="bottom"
51             android:layout_marginTop="1px"
52             android:layout_marginBottom="2px"
53             android:gravity="center">
54
55             <com.android.music.RepeatingImageButton android:id="@+id/prev" style="@android:style/MediaButton.Previous" />
56
57             <ImageButton android:id="@+id/pause" style="@android:style/MediaButton.Play" />
58
59             <com.android.music.RepeatingImageButton android:id="@+id/next" style="@android:style/MediaButton.Next" />
60
61         </LinearLayout>
62
63         <TextView android:id="@+id/totaltime"
64             android:textAppearance="?android:attr/textAppearanceMedium"
65             android:textSize="14sp"
66             android:textStyle="bold"
67             android:shadowColor="#ff000000"
68             android:shadowDx="0"
69             android:shadowDy="0"
70             android:shadowRadius="3"
71             android:gravity="right"
72             android:paddingRight="5px"
73             android:layout_gravity="bottom"
74             android:layout_weight="1"
75             android:layout_width="0dip"
76             android:layout_height="wrap_content" />
77
78     </LinearLayout>
79
80     <SeekBar android:id="@android:id/progress"
81         android:background="#ff5a5a5a"
82         style="?android:attr/progressBarStyleHorizontal"
83         android:layout_width="fill_parent"
84         android:layout_height="36px"
85         android:paddingLeft="5px"
86         android:paddingRight="5px"
87         android:paddingBottom="4px" />
88
89 </merge>