Changeset View
Changeset View
Standalone View
Standalone View
res/layout/mpris_control.xml
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 158 | <SeekBar | |||
---|---|---|---|---|---|
161 | android:id="@+id/volume_seek" | 161 | android:id="@+id/volume_seek" | ||
162 | android:layout_weight="1" | 162 | android:layout_weight="1" | ||
163 | android:max="100" | 163 | android:max="100" | ||
164 | android:layout_gravity="center" | 164 | android:layout_gravity="center" | ||
165 | /> | 165 | /> | ||
166 | 166 | | |||
167 | </LinearLayout> | 167 | </LinearLayout> | ||
168 | 168 | | |||
169 | <!-- | 169 | <fragment android:name="org.kde.kdeconnect.Plugins.SystemvolumePlugin.SystemvolumeFragment" | ||
mtijink: Does this work if the system volume plugin is disabled? | |||||
Yes, as the class still exists. The Activity handles a not loaded systemvolumeplugin gracefully nicolasfella: Yes, as the class still exists. The Activity handles a not loaded systemvolumeplugin gracefully | |||||
170 | <ImageButton | 170 | android:id="@+id/systemvolume_fragment" | ||
171 | android:layout_width="wrap_content" | 171 | android:layout_width="match_parent" | ||
172 | android:layout_height="wrap_content" | 172 | android:layout_height="wrap_content" /> | ||
173 | android:id="@+id/pause_button" | 173 | | ||
174 | android:src="@android:drawable/ic_media_pause" | | |||
175 | android:layout_gravity="center"/> | | |||
176 | 174 | | |||
177 | <ImageButton | | |||
178 | android:layout_width="wrap_content" | | |||
179 | android:layout_height="wrap_content" | | |||
180 | android:id="@+id/pause_button" | | |||
181 | android:src="@android:drawable/ic_media_stop" | | |||
182 | android:layout_gravity="center"/> | | |||
183 | --> | | |||
184 | </LinearLayout> | 175 | </LinearLayout> |
Does this work if the system volume plugin is disabled?