@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);
 }
 public PlayingIndicator(Context context, AttributeSet attrs) {
   super(context, attrs);
   setImageResource(R.drawable.now_playing_indicator);
   mRotateDrawable = (RotateDrawable) getDrawable();
   if (!VersionUtils.hasLollipop()) {
     mRotateDrawable.setColorFilter(
         ThemeUtils.getColorAccent(getContext()), PorterDuff.Mode.SRC_IN);
   }
 }
 void showFilePicker() {
   Intent intent = new Intent();
   intent.setType("application/zip");
   intent.addCategory(Intent.CATEGORY_OPENABLE);
   if (VersionUtils.hasKitkat()) {
     intent.setAction(Intent.ACTION_OPEN_DOCUMENT);
   } else {
     intent = Intent.createChooser(intent.setAction(Intent.ACTION_GET_CONTENT), "");
   }
   try {
     startActivityForResult(intent, ActivityRequestCodes.IMPORT_CONFIG);
   } catch (ActivityNotFoundException e) {
     Toast.makeText(getActivity(), R.string.no_file_picker_found, Toast.LENGTH_LONG).show();
   }
 }