1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 android:orientation="vertical" 5 android:background="#CC000000" 6 android:layout_width="match_parent" 7 android:layout_height="wrap_content"> 8 9 <LinearLayout 10 android:layout_width="match_parent" 11 android:layout_height="wrap_content" 12 android:gravity="center" 13 android:paddingTop="4dip" 14 android:orientation="horizontal"> 15 <ImageButton 16 android:id="@+id/skip_previous_button" 17 style="@android:style/MediaButton.Previous" 18 android:contentDescription="@string/exo_controls_previous_description"/> 19 20 <ImageButton 21 android:id="@+id/rewind_button" 22 style="@android:style/MediaButton.Rew" 23 android:contentDescription="@string/exo_controls_rewind_description"/> 24 25 <ImageButton 26 android:id="@+id/play_button" 27 style="@android:style/MediaButton.Play" 28 android:contentDescription="@string/exo_controls_play_description"/> 29 30 <ImageButton 31 android:id="@+id/fast_forward_button" 32 style="@android:style/MediaButton.Ffwd" 33 android:contentDescription="@string/exo_controls_fastforward_description"/> 34 35 <ImageButton 36 android:id="@+id/skip_next_button" 37 style="@android:style/MediaButton.Next" 38 android:contentDescription="@string/exo_controls_next_description"/> 39 </LinearLayout> 40 41 <LinearLayout 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:orientation="horizontal"> 45 46 <TextView 47 android:id="@+id/current_time_text" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:layout_gravity="center_horizontal" 51 android:paddingStart="10dip" 52 android:paddingEnd="4dip" 53 android:paddingTop="5dip" 54 android:textColor="@android:color/white" 55 android:textSize="14sp" 56 android:text="@string/default_media_controller_time" 57 android:textStyle="bold"/> 58 59 <SeekBar 60 android:id="@+id/seek_bar" 61 android:layout_width="wrap_content" 62 android:layout_height="32dip" 63 android:minHeight="5dp" 64 android:maxHeight="5dp" 65 android:layout_weight="1"/> 66 67 <TextView 68 android:id="@+id/end_time_text" 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:layout_gravity="center_horizontal" 72 android:paddingStart="4dip" 73 android:paddingEnd="0dip" 74 android:paddingTop="5dip" 75 android:text="@string/default_media_controller_time" 76 android:textColor="@android:color/white" 77 android:textSize="14sp" 78 android:textStyle="bold"/> 79 80 <ImageButton 81 android:id="@+id/fullscreen_mode_button" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 android:layout_gravity="top" 85 android:layout_marginTop="-5dip" 86 android:layout_weight="0" 87 android:background="@android:color/transparent" 88 android:contentDescription="@string/enter_fullscreen_mode" 89 android:paddingEnd="4dip" 90 android:paddingStart="6dip" 91 android:src="@drawable/ic_fullscreen_32dp" 92 android:paddingTop="4dip"/> 93 </LinearLayout> 94</LinearLayout>