code: private void initializeToolbarElevation(final SharedPreferences sharedPreferences) {
          String key = getString(R.string.toolbar_elevation_preference_key);
          String defaultValue = getString(R.string.toolbar_elevation_preference_default_value);
          int elevation = Integer.valueOf(sharedPreferences.getString(key, defaultValue));
          setToolbarElevation(elevation);
      }
docs: Initializes the elevation of the activity's toolbar.
  
  @param sharedPreferences
  The shared preferences, which should be used, as an instance of the type {@link
  SharedPreferences}