mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 21:55:10 +00:00
Summary: This prevents issues with buttons jumping around when canPlay/canPause is false, as some mpris players do not report consistent values. Additionally, gives the play/pause button a bit more attention when enabled. What do you think? When playing/pausing is enabled (i.e. nearly always): {F5728047} When disabled: {F5728048} Reviewers: #kde_connect, #vdg, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: albertvaka, nicolasfella Differential Revision: https://phabricator.kde.org/D10796
6 lines
274 B
XML
6 lines
274 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item android:state_enabled="true" android:color="@color/primary" />
|
|
<item android:state_enabled="false" android:color="@color/disabled_grey" />
|
|
</selector>
|