Changeset View
Changeset View
Standalone View
Standalone View
res/layout/mpris_control.xml
Show All 40 Lines | 30 | <TextView | |||
---|---|---|---|---|---|
41 | android:layout_gravity="center" | 41 | android:layout_gravity="center" | ||
42 | /> | 42 | /> | ||
43 | 43 | | |||
44 | <org.kde.kdeconnect.UserInterface.MaxWidthImageButton | 44 | <org.kde.kdeconnect.UserInterface.MaxWidthImageButton | ||
45 | android:layout_width="fill_parent" | 45 | android:layout_width="fill_parent" | ||
46 | android:layout_height="75dip" | 46 | android:layout_height="75dip" | ||
47 | app:maxWidth="300dip" | 47 | app:maxWidth="300dip" | ||
48 | android:id="@+id/play_button" | 48 | android:id="@+id/play_button" | ||
49 | android:src="@android:drawable/ic_media_play" | 49 | android:src="@drawable/ic_play_black" | ||
50 | android:contentDescription="@string/mpris_play" | 50 | android:contentDescription="@string/mpris_play" | ||
51 | android:layout_gravity="center" | 51 | android:layout_gravity="center" | ||
52 | android:layout_weight="0" | 52 | android:layout_weight="0" | ||
53 | android:clickable="false" | 53 | android:clickable="false" | ||
54 | android:adjustViewBounds="false" | 54 | android:adjustViewBounds="false" | ||
55 | android:baselineAlignBottom="true" /> | 55 | android:baselineAlignBottom="true" /> | ||
56 | 56 | | |||
57 | <LinearLayout | 57 | <LinearLayout | ||
58 | android:orientation="horizontal" | 58 | android:orientation="horizontal" | ||
59 | android:layout_width="match_parent" | 59 | android:layout_width="match_parent" | ||
60 | android:layout_height="60dip" | 60 | android:layout_height="60dip" | ||
61 | android:layout_gravity="center" | 61 | android:layout_gravity="center" | ||
62 | > | 62 | > | ||
63 | 63 | | |||
64 | <ImageButton | 64 | <ImageButton | ||
65 | android:layout_width="match_parent" | 65 | android:layout_width="match_parent" | ||
66 | android:layout_height="fill_parent" | 66 | android:layout_height="fill_parent" | ||
67 | android:id="@+id/prev_button" | 67 | android:id="@+id/prev_button" | ||
68 | android:src="@android:drawable/ic_media_previous" | 68 | android:src="@drawable/ic_previous_black" | ||
69 | android:contentDescription="@string/mpris_previous" | 69 | android:contentDescription="@string/mpris_previous" | ||
70 | android:layout_weight="0.25" | 70 | android:layout_weight="0.25" | ||
71 | /> | 71 | /> | ||
72 | 72 | | |||
73 | <ImageButton | 73 | <ImageButton | ||
74 | android:layout_width="match_parent" | 74 | android:layout_width="match_parent" | ||
75 | android:layout_height="fill_parent" | 75 | android:layout_height="fill_parent" | ||
76 | android:id="@+id/rew_button" | 76 | android:id="@+id/rew_button" | ||
77 | android:src="@android:drawable/ic_media_rew" | 77 | android:src="@drawable/ic_rewind_black" | ||
78 | android:contentDescription="@string/mpris_rew" | 78 | android:contentDescription="@string/mpris_rew" | ||
79 | android:layout_weight="0.25" | 79 | android:layout_weight="0.25" | ||
80 | /> | 80 | /> | ||
81 | 81 | | |||
82 | <ImageButton | 82 | <ImageButton | ||
83 | android:layout_width="match_parent" | 83 | android:layout_width="match_parent" | ||
84 | android:layout_height="fill_parent" | 84 | android:layout_height="fill_parent" | ||
85 | android:id="@+id/ff_button" | 85 | android:id="@+id/ff_button" | ||
86 | android:src="@android:drawable/ic_media_ff" | 86 | android:src="@drawable/ic_fast_forward_black" | ||
87 | android:contentDescription="@string/mpris_ff" | 87 | android:contentDescription="@string/mpris_ff" | ||
88 | android:layout_weight="0.25" | 88 | android:layout_weight="0.25" | ||
89 | /> | 89 | /> | ||
90 | 90 | | |||
91 | <ImageButton | 91 | <ImageButton | ||
92 | android:layout_width="match_parent" | 92 | android:layout_width="match_parent" | ||
93 | android:layout_height="fill_parent" | 93 | android:layout_height="fill_parent" | ||
94 | android:id="@+id/next_button" | 94 | android:id="@+id/next_button" | ||
95 | android:src="@android:drawable/ic_media_next" | 95 | android:src="@drawable/ic_next_black" | ||
96 | android:contentDescription="@string/mpris_next" | 96 | android:contentDescription="@string/mpris_next" | ||
97 | android:layout_weight="0.25" | 97 | android:layout_weight="0.25" | ||
98 | /> | 98 | /> | ||
99 | 99 | | |||
100 | </LinearLayout> | 100 | </LinearLayout> | ||
101 | 101 | | |||
102 | <LinearLayout | 102 | <LinearLayout | ||
103 | android:orientation="horizontal" | 103 | android:orientation="horizontal" | ||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 146 | <ImageView | |||
147 | android:layout_width="30dip" | 147 | android:layout_width="30dip" | ||
148 | android:layout_height="30dip" | 148 | android:layout_height="30dip" | ||
149 | android:maxWidth="30dip" | 149 | android:maxWidth="30dip" | ||
150 | android:layout_marginRight="10dip" | 150 | android:layout_marginRight="10dip" | ||
151 | android:layout_marginEnd="10dip" | 151 | android:layout_marginEnd="10dip" | ||
152 | android:id="@+id/imageView" | 152 | android:id="@+id/imageView" | ||
153 | android:layout_weight="0" | 153 | android:layout_weight="0" | ||
154 | android:contentDescription="@string/mpris_volume" | 154 | android:contentDescription="@string/mpris_volume" | ||
155 | android:src="@drawable/ic_volume" | 155 | android:src="@drawable/ic_volume_black" | ||
156 | /> | 156 | /> | ||
157 | 157 | | |||
158 | 158 | | |||
159 | <SeekBar | 159 | <SeekBar | ||
160 | android:layout_width="wrap_content" | 160 | android:layout_width="wrap_content" | ||
161 | android:layout_height="wrap_content" | 161 | android:layout_height="wrap_content" | ||
162 | android:id="@+id/volume_seek" | 162 | android:id="@+id/volume_seek" | ||
163 | android:layout_weight="1" | 163 | android:layout_weight="1" | ||
Show All 22 Lines |