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 | android:theme="@style/DisableableButton" /> | ||||
30 | | ||||
31 | <ImageButton | ||||
32 | android:id="@+id/next_button" | ||||
33 | android:layout_width="match_parent" | ||||
34 | android:layout_height="fill_parent" | ||||
35 | android:layout_weight="0.25" | ||||
36 | android:contentDescription="@string/mpris_ff" | ||||
37 | android:src="@drawable/ic_next_black" | ||||
38 | android:theme="@style/DisableableButton" /> | ||||
39 | | ||||
40 | </LinearLayout> | ||||
41 | | ||||
42 | <TextView | ||||
43 | style="@android:style/TextAppearance.Medium" | ||||
44 | android:padding="12dip" | ||||
45 | android:id="@+id/textView" | ||||
46 | android:layout_width="match_parent" | ||||
47 | android:layout_height="wrap_content" | ||||
48 | android:layout_weight="0.25" | ||||
49 | android:gravity="center" | ||||
50 | android:text="@string/presenter_lock_tip" /> | ||||
51 | | ||||
52 | </LinearLayout> |