1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 * 4 ** 5 ** Copyright 2008, The Android Open Source Project 6 ** 7 ** Licensed under the Apache License, Version 2.0 (the "License"); 8 ** you may not use this file except in compliance with the License. 9 ** You may obtain a copy of the License at 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 13 ** Unless required by applicable law or agreed to in writing, software 14 ** distributed under the License is distributed on an "AS IS" BASIS, 15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 ** See the License for the specific language governing permissions and 17 ** limitations under the License. 18 */ 19 --> 20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/layout" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:orientation="horizontal"> 25 26 <TextView android:id="@+id/currenttime" 27 android:text="@string/time" 28 android:textSize="12sp" 29 android:textStyle="bold" 30 android:layout_gravity="bottom" 31 android:layout_weight="1" 32 android:layout_width="0dip" 33 android:layout_height="wrap_content" /> 34 35 <LinearLayout 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:orientation="horizontal" 39 android:gravity="center"> 40 41 <ImageButton android:id="@+id/prev" 42 android:src="@drawable/sym_now_playing_skip_backward_1" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" /> 45 46 <ImageButton android:id="@+id/pause" 47 android:src="@drawable/sym_now_playing_pause_1" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" /> 50 51 <ImageButton android:id="@+id/next" 52 android:src="@drawable/sym_now_playing_skip_forward_1" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" /> 55 56 </LinearLayout> 57 58 <TextView android:id="@+id/totaltime" 59 android:textSize="12sp" 60 android:textStyle="bold" 61 android:gravity="right" 62 android:text="@string/time" 63 android:layout_gravity="bottom" 64 android:layout_weight="1" 65 android:layout_width="0dip" 66 android:layout_height="wrap_content" /> 67 68 </LinearLayout> 69