protected static Preferences getPreferences() {
   return PreferencesManager.getInstance().getApplicationPreferences(TABS_PREFERENCES_SET);
 }
Пример #2
0
 /**
  * Gets the layout preferences set. This is common amongst all views
  *
  * @return The preferences.
  */
 public static Preferences getViewLayoutPreferences() {
   PreferencesManager prefsMan = PreferencesManager.getInstance();
   return prefsMan.getApplicationPreferences(VIEW_LAYOUT_PREFERENCES_ID);
 }