Commit 06f8322159350f03ef07d968580564e8105d84d0

Authored by Imanol-Mikel Barba Sabariego
1 parent 6b0698d8

margensillo

VitamioBundle/res/layout/mediacontroller.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent" 3 android:layout_width="match_parent"
4 - android:layout_height="80dip" 4 + android:layout_height="85dip"
5 android:layout_alignParentBottom="true" 5 android:layout_alignParentBottom="true"
6 android:layout_marginBottom="0.0dip" 6 android:layout_marginBottom="0.0dip"
7 android:layout_marginLeft="0.0dip" 7 android:layout_marginLeft="0.0dip"
@@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
10 android:orientation="horizontal" > 10 android:orientation="horizontal" >
11 11
12 <RelativeLayout 12 <RelativeLayout
  13 + android:id="@+id/relativeLayout1"
13 android:layout_width="match_parent" 14 android:layout_width="match_parent"
14 android:layout_height="wrap_content" 15 android:layout_height="wrap_content"
15 android:layout_marginBottom="2dip" 16 android:layout_marginBottom="2dip"
@@ -36,6 +37,41 @@ @@ -36,6 +37,41 @@
36 android:layout_height="wrap_content" 37 android:layout_height="wrap_content"
37 android:layout_alignParentRight="true" 38 android:layout_alignParentRight="true"
38 android:layout_alignParentTop="true" /> 39 android:layout_alignParentTop="true" />
  40 +
  41 + <ImageButton
  42 + android:id="@+id/mediacontroller_play_pause"
  43 + android:layout_width="54.6dip"
  44 + android:layout_height="30dip"
  45 + android:layout_centerHorizontal="true"
  46 + android:background="#00000000"
  47 + android:contentDescription="@string/mediacontroller_play_pause"
  48 + android:gravity="center"
  49 + android:src="@drawable/mediacontroller_pause_button" />
  50 +
  51 + <ImageButton
  52 + android:id="@+id/ImageButton01"
  53 + android:layout_width="54.6dip"
  54 + android:layout_height="30dip"
  55 + android:layout_marginRight="20dp"
  56 + android:layout_toLeftOf="@+id/mediacontroller_play_pause"
  57 + android:background="#00000000"
  58 + android:gravity="center"
  59 + android:scaleType="fitCenter"
  60 + android:src="@drawable/mediacontroller_ff_left" />
  61 +
  62 + <ImageButton
  63 + android:id="@+id/ImageButton02"
  64 + android:layout_width="54.6dip"
  65 + android:layout_height="30dip"
  66 + android:layout_alignParentTop="true"
  67 + android:layout_marginLeft="20dip"
  68 + android:layout_marginRight="40dip"
  69 + android:layout_toRightOf="@+id/mediacontroller_play_pause"
  70 + android:background="#00000000"
  71 + android:gravity="center"
  72 + android:scaleType="fitCenter"
  73 + android:src="@drawable/mediacontroller_ff_right" />
  74 +
39 </RelativeLayout> 75 </RelativeLayout>
40 76
41 <SeekBar 77 <SeekBar
@@ -43,7 +79,9 @@ @@ -43,7 +79,9 @@
43 style="@style/MediaController_SeekBar" 79 style="@style/MediaController_SeekBar"
44 android:layout_width="match_parent" 80 android:layout_width="match_parent"
45 android:layout_height="wrap_content" 81 android:layout_height="wrap_content"
46 - android:layout_centerVertical="true" 82 + android:layout_below="@id/mediacontroller_play_pause"
  83 + android:layout_centerVertical="false"
  84 + android:layout_marginTop="25dip"
47 android:focusable="true" 85 android:focusable="true"
48 android:max="1000" /> 86 android:max="1000" />
49 87
@@ -58,39 +96,4 @@ @@ -58,39 +96,4 @@
58 96
59 </RelativeLayout> 97 </RelativeLayout>
60 98
61 - <ImageButton  
62 - android:id="@+id/mediacontroller_play_pause"  
63 - android:layout_width="54.6dip"  
64 - android:layout_height="32dip"  
65 - android:layout_alignParentBottom="true"  
66 - android:layout_centerHorizontal="true"  
67 - android:background="#00000000"  
68 - android:contentDescription="@string/mediacontroller_play_pause"  
69 - android:gravity="center"  
70 - android:src="@drawable/mediacontroller_pause_button" />  
71 -  
72 - <ImageButton  
73 - android:id="@+id/ImageButton01"  
74 - android:layout_width="54.6dip"  
75 - android:layout_height="32dip"  
76 - android:layout_alignParentBottom="true"  
77 - android:layout_marginRight="20dp"  
78 - android:layout_toLeftOf="@+id/mediacontroller_play_pause"  
79 - android:background="#00000000"  
80 - android:gravity="center"  
81 - android:scaleType="fitCenter"  
82 - android:src="@drawable/mediacontroller_ff_left" />  
83 -  
84 - <ImageButton  
85 - android:id="@+id/ImageButton02"  
86 - android:layout_width="54.6dip"  
87 - android:layout_height="32dip"  
88 - android:layout_alignParentBottom="true"  
89 - android:layout_marginLeft="14dp"  
90 - android:layout_toRightOf="@+id/mediacontroller_play_pause"  
91 - android:background="#00000000"  
92 - android:gravity="center"  
93 - android:scaleType="fitCenter"  
94 - android:src="@drawable/mediacontroller_ff_right" />  
95 -  
96 </RelativeLayout> 99 </RelativeLayout>
97 \ No newline at end of file 100 \ No newline at end of file