private void initializeNavigationWidth ( final SharedPreferences sharedPreferences ) { String key = getString ( R . string . navigation_width_preference_key ) ; String defaultValue = getString ( R . string . navigation_width_preference_default_value ) ; int width = Integer . valueOf ( sharedPreferences . getString ( key , defaultValue ) ) ; setNavigationWidth ( dpToPixels ( this , width ) ) ; }
Initializes the width of the navigation .