Changeset View
Changeset View
Standalone View
Standalone View
res/layout/activity_presenter.xml
- This file was added.
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:id="@+id/mpris_control_view" | ||||
5 | android:layout_width="match_parent" | ||||
6 | android:layout_height="match_parent" | ||||
7 | android:layout_gravity="center" | ||||
8 | android:gravity="center" | ||||
9 | android:orientation="vertical"> | ||||
10 | | ||||
11 | <Space | ||||
12 | android:layout_width="match_parent" | ||||
13 | android:layout_height="wrap_content" | ||||
14 | android:layout_weight="0.25" /> | ||||
15 | | ||||
16 | <LinearLayout | ||||
17 | android:layout_width="match_parent" | ||||
18 | android:layout_height="60dip" | ||||
19 | android:layout_gravity="center" | ||||
20 | android:orientation="horizontal"> | ||||
21 | | ||||
22 | <ImageButton | ||||
23 | android:id="@+id/previous_button" | ||||
24 | android:layout_width="match_parent" | ||||
25 | android:layout_height="fill_parent" | ||||
26 | android:layout_weight="0.25" | ||||
27 | android:contentDescription="@string/mpris_rew" | ||||
28 | android:src="@drawable/ic_previous_black"/> | ||||
29 | | ||||
30 | <ImageButton | ||||
31 | android:id="@+id/next_button" | ||||
32 | android:layout_width="match_parent" | ||||
33 | android:layout_height="fill_parent" | ||||
34 | android:layout_weight="0.25" | ||||
35 | android:contentDescription="@string/mpris_ff" | ||||
36 | android:src="@drawable/ic_next_black" /> | ||||
37 | | ||||
38 | </LinearLayout> | ||||
39 | | ||||
40 | <TextView | ||||
41 | style="@android:style/TextAppearance.Medium" | ||||
42 | android:padding="12dip" | ||||
43 | android:id="@+id/textView" | ||||
44 | android:layout_width="match_parent" | ||||
45 | android:layout_height="wrap_content" | ||||
46 | android:layout_weight="0.25" | ||||
47 | android:gravity="center" | ||||
48 | android:text="@string/presenter_lock_tip" /> | ||||
49 | | ||||
50 | <Button | ||||
51 | android:id="@+id/fullscreen_button" | ||||
52 | android:layout_width="match_parent" | ||||
53 | android:layout_height="75dp" | ||||
54 | android:adjustViewBounds="false" | ||||
55 | android:baselineAlignBottom="true" | ||||
56 | android:contentDescription="@string/presenter_fullscreen" | ||||
57 | android:text="@string/presenter_fullscreen"/> | ||||
58 | | ||||
59 | </LinearLayout> |