@Override
 protected void onFinishInflate() {
   super.onFinishInflate();
   ButterKnife.inject(this);
   String pickedview = settings.getString(NOW_PLAYING_VIEW, NOW_PLAYING_VIEW_ARTWORK);
   switch (pickedview) {
     case NOW_PLAYING_VIEW_VIS_CIRCLE:
     case NOW_PLAYING_VIEW_VIS_CIRCLE_BAR:
     case NOW_PLAYING_VIEW_VIS_LINES:
       visualizerView =
           ViewUtils.inflate(getContext(), R.layout.now_playing_visualization, placeholder, false);
       placeholder.addView(visualizerView);
       initVisualizer(pickedview);
       break;
     case NOW_PLAYING_VIEW_ARTWORK:
     default:
       artwork = ViewUtils.inflate(getContext(), R.layout.now_playing_artwork, placeholder, false);
       placeholder.addView(artwork);
       initArtwork();
       break;
   }
   if (!VersionUtils.hasLollipop()) {
     seekBar
         .getThumb()
         .mutate()
         .setColorFilter(ThemeUtils.getColorAccent(getContext()), PorterDuff.Mode.SRC_IN);
   }
   PlaybackDrawableTint.repeatDrawable36(repeat);
   PlaybackDrawableTint.shuffleDrawable36(shuffle);
   if (!isInEditMode()) presenter.takeView(this);
 }
 void initArtwork() {
   String scaleType = settings.getString(NOW_PLAYING_ARTWORK_SCALE, NOW_PLAYING_ARTWORK_FILL);
   if (NOW_PLAYING_ARTWORK_FILL.equals(scaleType)) {
     artwork.setScaleType(ImageView.ScaleType.CENTER_CROP);
   } else {
     artwork.setScaleType(ImageView.ScaleType.FIT_CENTER);
   }
 }