code: private void setupSimplePreferencesScreen() {
          if (!isSimplePreferences(this)) {
              return;
          }
  
          // In the simplified UI, fragments are not used at all and we instead
          // use the older PreferenceActivity APIs.
  
          // Add 'general' preferences.
          addPreferencesFromResource(R.xml.pref_general);
  
          // Bind the summaries of EditText/List/Dialog/Ringtone preferences to
          // their values. When their values change, their summaries are updated
          // to reflect the new value, per the Android Design guidelines.
          bindPreferenceSummaryToValue(findPreference("server"));
          bindPreferenceSummaryToValue(findPreference("isCluster"));
          bindPreferenceSummaryToValue(findPreference("authToken"));
          bindPreferenceSummaryToValue(findPreference("appKey"));
          bindPreferenceSummaryToValue(findPreference("privateKey"));
          bindPreferenceSummaryToValue(findPreference("connMetada"));
          bindPreferenceSummaryToValue(findPreference("channel"));
          bindPreferenceSummaryToValue(findPreference("message"));
      }
docs: Shows the simplified settings UI if the device configuration if the
  device configuration dictates that a simplified, single-pane UI should be
  shown.