2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-28 20:57:42 +00:00

Added icons to plugins (still unused).

This commit is contained in:
Albert Vaca 2015-04-12 00:15:02 -07:00
parent 25e1505df0
commit f82c9c08cf
19 changed files with 3 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -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) {

View File

@ -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

View File

@ -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

View File

@ -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) {

View File

@ -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;

View File

@ -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

View File

@ -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) {