Use vector images
Thanks to vrih https://github.com/daneren2005/Subsonic/pull/919
|
@ -482,7 +482,7 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte
|
||||||
item.setChecked(true);
|
item.setChecked(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
drawerHeaderToggle.setImageResource(R.drawable.main_select_server_dark);
|
drawerHeaderToggle.setImageResource(R.drawable.main_select_server);
|
||||||
|
|
||||||
showingTabs = true;
|
showingTabs = true;
|
||||||
}
|
}
|
||||||
|
@ -499,7 +499,7 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
drawerList.getMenu().setGroupCheckable(MENU_GROUP_SERVER, true, true);
|
drawerList.getMenu().setGroupCheckable(MENU_GROUP_SERVER, true, true);
|
||||||
drawerHeaderToggle.setImageResource(R.drawable.main_select_tabs_dark);
|
drawerHeaderToggle.setImageResource(R.drawable.main_select_tabs);
|
||||||
|
|
||||||
showingTabs = false;
|
showingTabs = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -239,9 +239,9 @@ public class AudinautWidgetProvider extends AppWidgetProvider {
|
||||||
|
|
||||||
// Set correct drawable for pause state
|
// Set correct drawable for pause state
|
||||||
if (playing) {
|
if (playing) {
|
||||||
views.setImageViewResource(R.id.control_play, R.drawable.media_pause_dark);
|
views.setImageViewResource(R.id.control_play, R.drawable.widget_media_pause);
|
||||||
} else {
|
} else {
|
||||||
views.setImageViewResource(R.id.control_play, R.drawable.media_start_dark);
|
views.setImageViewResource(R.id.control_play, R.drawable.widget_media_start);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the cover art
|
// Set the cover art
|
||||||
|
|
|
@ -148,19 +148,19 @@ public final class Notifications {
|
||||||
boolean persistent = Util.getPreferences(context).getBoolean(Constants.PREFERENCES_KEY_PERSISTENT_NOTIFICATION, false);
|
boolean persistent = Util.getPreferences(context).getBoolean(Constants.PREFERENCES_KEY_PERSISTENT_NOTIFICATION, false);
|
||||||
if (persistent) {
|
if (persistent) {
|
||||||
if (expanded) {
|
if (expanded) {
|
||||||
rv.setImageViewResource(R.id.control_pause, playing ? R.drawable.notification_pause : R.drawable.notification_start);
|
rv.setImageViewResource(R.id.control_pause, playing ? R.drawable.notification_media_pause : R.drawable.notification_media_start);
|
||||||
|
|
||||||
rv.setImageViewResource(R.id.control_previous, R.drawable.notification_backward);
|
rv.setImageViewResource(R.id.control_previous, R.drawable.notification_media_backward);
|
||||||
rv.setImageViewResource(R.id.control_next, R.drawable.notification_forward);
|
rv.setImageViewResource(R.id.control_next, R.drawable.notification_media_forward);
|
||||||
} else {
|
} else {
|
||||||
rv.setImageViewResource(R.id.control_previous, playing ? R.drawable.notification_pause : R.drawable.notification_start);
|
rv.setImageViewResource(R.id.control_previous, playing ? R.drawable.notification_media_pause : R.drawable.notification_media_start);
|
||||||
rv.setImageViewResource(R.id.control_pause, R.drawable.notification_forward);
|
rv.setImageViewResource(R.id.control_pause, R.drawable.notification_media_forward);
|
||||||
rv.setImageViewResource(R.id.control_next, R.drawable.notification_close);
|
rv.setImageViewResource(R.id.control_next, R.drawable.notification_close);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Necessary for switching back since it appears to re-use the same layout
|
// Necessary for switching back since it appears to re-use the same layout
|
||||||
rv.setImageViewResource(R.id.control_previous, R.drawable.notification_backward);
|
rv.setImageViewResource(R.id.control_previous, R.drawable.notification_media_backward);
|
||||||
rv.setImageViewResource(R.id.control_next, R.drawable.notification_forward);
|
rv.setImageViewResource(R.id.control_next, R.drawable.notification_media_forward);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create actions for media buttons
|
// Create actions for media buttons
|
||||||
|
|
|
@ -177,9 +177,9 @@ public class SongView extends UpdateView2<MusicDirectory.Entry, Boolean> {
|
||||||
moreButton.setImageResource(moreImage);
|
moreButton.setImageResource(moreImage);
|
||||||
this.moreImage = moreImage;
|
this.moreImage = moreImage;
|
||||||
}
|
}
|
||||||
} else if (this.moreImage != R.drawable.download_none_light) {
|
} else if (this.moreImage != R.drawable.download_none) {
|
||||||
moreButton.setImageResource(DrawableTint.getDrawableRes(context, R.attr.download_none));
|
moreButton.setImageResource(DrawableTint.getDrawableRes(context, R.attr.download_none));
|
||||||
this.moreImage = R.drawable.download_none_light;
|
this.moreImage = R.drawable.download_none;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (downloadFile.isDownloading() && !downloadFile.isDownloadCancelled() && partialFileExists) {
|
if (downloadFile.isDownloading() && !downloadFile.isDownloadCancelled() && partialFileExists) {
|
||||||
|
|
Before Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 907 B |
Before Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 489 B |
Before Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 597 B |
Before Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 557 B |
Before Width: | Height: | Size: 447 B |
Before Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 876 B |
Before Width: | Height: | Size: 935 B |
Before Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 600 B |
Before Width: | Height: | Size: 563 B |
Before Width: | Height: | Size: 582 B |
Before Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 120 B |
Before Width: | Height: | Size: 127 B |
Before Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 466 B |
Before Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 323 B |