|
31 | 31 | android:id="@+id/play_queue" |
32 | 32 | android:layout_width="match_parent" |
33 | 33 | android:layout_height="match_parent" |
34 | | - android:layout_above="@id/center" |
| 34 | + android:layout_above="@id/progress_bar" |
35 | 35 | android:layout_below="@id/appbar" |
36 | 36 | android:scrollbars="vertical" |
37 | 37 | app:layoutManager="LinearLayoutManager" |
38 | 38 | tools:listitem="@layout/play_queue_item" /> |
39 | 39 |
|
| 40 | + |
| 41 | + |
| 42 | + <RelativeLayout |
| 43 | + android:id="@+id/seek_bar_layout" |
| 44 | + android:layout_width="match_parent" |
| 45 | + android:layout_height="wrap_content" |
| 46 | + android:layout_above="@id/center"> |
| 47 | + <TextView |
| 48 | + android:id="@+id/seek_display" |
| 49 | + android:layout_width="wrap_content" |
| 50 | + android:layout_height="wrap_content" |
| 51 | + android:layout_centerInParent="true" |
| 52 | + android:background="#c0000000" |
| 53 | + android:paddingLeft="30dp" |
| 54 | + android:paddingTop="5dp" |
| 55 | + android:paddingRight="30dp" |
| 56 | + android:paddingBottom="5dp" |
| 57 | + android:textColor="@android:color/white" |
| 58 | + android:textSize="22sp" |
| 59 | + android:textStyle="bold" |
| 60 | + android:visibility="gone" |
| 61 | + tools:ignore="RtlHardcoded" |
| 62 | + tools:text="1:06:29" |
| 63 | + tools:visibility="visible" /> |
| 64 | + </RelativeLayout> |
| 65 | + |
40 | 66 | <RelativeLayout |
41 | 67 | android:id="@+id/center" |
42 | 68 | android:layout_width="match_parent" |
43 | 69 | android:layout_height="wrap_content" |
44 | | - android:layout_above="@+id/playback_controls"> |
| 70 | + android:layout_above="@id/progress_bar" |
| 71 | + android:gravity="center"> |
45 | 72 |
|
46 | 73 | <LinearLayout |
47 | 74 | android:id="@+id/metadata" |
|
81 | 108 | tools:text="Duis posuere arcu condimentum lobortis mattis." /> |
82 | 109 | </LinearLayout> |
83 | 110 |
|
84 | | - <TextView |
85 | | - android:id="@+id/seek_display" |
86 | | - android:layout_width="wrap_content" |
87 | | - android:layout_height="wrap_content" |
88 | | - android:layout_centerInParent="true" |
89 | | - android:background="#c0000000" |
90 | | - android:paddingLeft="30dp" |
91 | | - android:paddingTop="5dp" |
92 | | - android:paddingRight="30dp" |
93 | | - android:paddingBottom="5dp" |
94 | | - android:textColor="@android:color/white" |
95 | | - android:textSize="22sp" |
96 | | - android:textStyle="bold" |
97 | | - android:visibility="gone" |
98 | | - tools:ignore="RtlHardcoded" |
99 | | - tools:text="1:06:29" |
100 | | - tools:visibility="visible" /> |
101 | 111 | </RelativeLayout> |
102 | 112 |
|
103 | 113 | <LinearLayout |
104 | 114 | android:id="@+id/progress_bar" |
105 | 115 | android:layout_width="match_parent" |
106 | 116 | android:layout_height="wrap_content" |
107 | | - android:layout_alignParentBottom="true" |
108 | | - android:gravity="center" |
109 | 117 | android:orientation="horizontal" |
110 | 118 | android:paddingLeft="12dp" |
111 | | - android:paddingRight="12dp"> |
| 119 | + android:paddingRight="12dp" |
| 120 | + android:layout_above="@+id/playback_controls"> |
112 | 121 |
|
113 | 122 | <TextView |
114 | 123 | android:id="@+id/current_time" |
|
159 | 168 | android:visibility="gone" /> |
160 | 169 | </LinearLayout> |
161 | 170 |
|
| 171 | + |
162 | 172 | <RelativeLayout |
163 | 173 | android:id="@+id/playback_controls" |
164 | 174 | android:layout_width="match_parent" |
165 | 175 | android:layout_height="wrap_content" |
166 | | - android:layout_above="@+id/progress_bar" |
167 | 176 | android:orientation="horizontal" |
| 177 | + android:layout_alignParentBottom="true" |
| 178 | + android:layout_marginBottom="12dp" |
168 | 179 | tools:ignore="RtlHardcoded"> |
169 | 180 |
|
170 | 181 | <ImageButton |
|
295 | 306 |
|
296 | 307 | </RelativeLayout> |
297 | 308 |
|
| 309 | + |
| 310 | + |
298 | 311 | </RelativeLayout> |
0 commit comments