diff --git a/res/drawable-hdpi/mpris_plugin_action.png b/res/drawable-hdpi/mpris_plugin_action.png new file mode 100644 index 00000000..6aedaf09 Binary files /dev/null and b/res/drawable-hdpi/mpris_plugin_action.png differ diff --git a/res/drawable-hdpi/share_plugin_action.png b/res/drawable-hdpi/share_plugin_action.png new file mode 100644 index 00000000..952bcb10 Binary files /dev/null and b/res/drawable-hdpi/share_plugin_action.png differ diff --git a/res/drawable-hdpi/touchpad_plugin_action.png b/res/drawable-hdpi/touchpad_plugin_action.png new file mode 100644 index 00000000..163b9159 Binary files /dev/null and b/res/drawable-hdpi/touchpad_plugin_action.png differ diff --git a/res/drawable-mdpi/mpris_plugin_action.png b/res/drawable-mdpi/mpris_plugin_action.png new file mode 100644 index 00000000..da5d3c11 Binary files /dev/null and b/res/drawable-mdpi/mpris_plugin_action.png differ diff --git a/res/drawable-mdpi/share_plugin_action.png b/res/drawable-mdpi/share_plugin_action.png new file mode 100644 index 00000000..625a4666 Binary files /dev/null and b/res/drawable-mdpi/share_plugin_action.png differ diff --git a/res/drawable-mdpi/touchpad_plugin_action.png b/res/drawable-mdpi/touchpad_plugin_action.png new file mode 100644 index 00000000..dac8462c Binary files /dev/null and b/res/drawable-mdpi/touchpad_plugin_action.png differ diff --git a/res/drawable-xhdpi/mpris_plugin_action.png b/res/drawable-xhdpi/mpris_plugin_action.png new file mode 100644 index 00000000..76e7efcc Binary files /dev/null and b/res/drawable-xhdpi/mpris_plugin_action.png differ diff --git a/res/drawable-xhdpi/share_plugin_action.png b/res/drawable-xhdpi/share_plugin_action.png new file mode 100644 index 00000000..31366fc5 Binary files /dev/null and b/res/drawable-xhdpi/share_plugin_action.png differ diff --git a/res/drawable-xhdpi/touchpad_plugin_action.png b/res/drawable-xhdpi/touchpad_plugin_action.png new file mode 100644 index 00000000..6ad0c6af Binary files /dev/null and b/res/drawable-xhdpi/touchpad_plugin_action.png differ diff --git a/res/drawable-xxhdpi/mpris_plugin_action.png b/res/drawable-xxhdpi/mpris_plugin_action.png new file mode 100644 index 00000000..d1cf1b9a Binary files /dev/null and b/res/drawable-xxhdpi/mpris_plugin_action.png differ diff --git a/res/drawable-xxhdpi/share_plugin_action.png b/res/drawable-xxhdpi/share_plugin_action.png new file mode 100644 index 00000000..3f73ebca Binary files /dev/null and b/res/drawable-xxhdpi/share_plugin_action.png differ diff --git a/res/drawable-xxhdpi/touchpad_plugin_action.png b/res/drawable-xxhdpi/touchpad_plugin_action.png new file mode 100644 index 00000000..cf9a96a5 Binary files /dev/null and b/res/drawable-xxhdpi/touchpad_plugin_action.png differ diff --git a/src/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java b/src/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java index e710d082..35a5f011 100644 --- a/src/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java @@ -57,11 +57,6 @@ public class BatteryPlugin extends Plugin { return context.getResources().getString(R.string.pref_plugin_battery_desc); } - @Override - public Drawable getIcon() { - return context.getResources().getDrawable(R.drawable.icon); - } - private final BroadcastReceiver receiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent batteryIntent) { diff --git a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java index 42c6cf89..8f2126bd 100644 --- a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java @@ -51,7 +51,7 @@ public class MousePadPlugin extends Plugin { @Override public Drawable getIcon() { - return context.getResources().getDrawable(R.drawable.icon); + return context.getResources().getDrawable(R.drawable.touchpad_plugin_action); } @Override diff --git a/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java b/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java index 695847c3..0a278185 100644 --- a/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java @@ -68,7 +68,7 @@ public class MprisPlugin extends Plugin { @Override public Drawable getIcon() { - return context.getResources().getDrawable(R.drawable.icon); + return context.getResources().getDrawable(R.drawable.mpris_plugin_action); } @Override diff --git a/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java b/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java index a1062437..a65c9213 100644 --- a/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java @@ -56,11 +56,6 @@ public class PingPlugin extends Plugin { return context.getResources().getString(R.string.pref_plugin_ping_desc); } - @Override - public Drawable getIcon() { - return context.getResources().getDrawable(R.drawable.icon); - } - @Override public boolean onPackageReceived(NetworkPackage np) { diff --git a/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java b/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java index e987dd2c..ec480c71 100644 --- a/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java @@ -53,9 +53,6 @@ public class SftpPlugin extends Plugin { } @Override - public Drawable getIcon() { - return context.getResources().getDrawable(R.drawable.icon); - } public boolean onCreate() { server.init(context, device); return true; diff --git a/src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java b/src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java index 59267e36..779aa7b8 100644 --- a/src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java +++ b/src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java @@ -65,7 +65,7 @@ public class SharePlugin extends Plugin { @Override public Drawable getIcon() { - return context.getResources().getDrawable(R.drawable.icon); + return context.getResources().getDrawable(R.drawable.share_plugin_action); } @Override diff --git a/src/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java b/src/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java index aec4c9ec..65b3b393 100644 --- a/src/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java @@ -62,11 +62,6 @@ public class TelephonyPlugin extends Plugin { return context.getResources().getString(R.string.pref_plugin_telephony_desc); } - @Override - public Drawable getIcon() { - return context.getResources().getDrawable(R.drawable.icon); - } - private final BroadcastReceiver receiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) {