title: Is it possible to auto-scroll down a PreferenceFragment to a desired (settings) entry?
body: <p>I'm using <code>startActivity(new Intent(this, SettingsActivity.class))</code> from an <code>Activity</code> to call the <code>PreferenceFragment</code> of my app when a certain user interaction is required to be performed into the preferences.
  I think would be good to scroll down to reach the involved preference.</p>
  
  <p>I found solutions about how to scroll views into <code>ScrollView</code>s and <code>ListView</code>s, but nothing related to <code>PreferenceFragment</code>s.</p>
  
  <p>My preferences look like:</p>
  
  <pre><code>public class SettingsActivity extends Activity {
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          // ...
  
          PreferenceManager.setDefaultValues(this, R.xml.settings, false);
  
          getFragmentManager().beginTransaction()
              .replace(android.R.id.content, new SettingsFragment())
              .commit();
      }
  
      public static class SettingsFragment extends PreferenceFragment implements OnSharedPreferenceChangeListener {
  
          //preferences:
          private Preference p
          // [...]
  
          @Override
          public void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
              addPreferencesFromResource(R.xml.settings);
  
              //preference click listeners...
              p = (Preference) findPreference("PR_NAME");
              p.setOnPreferenceClickListener(new OnPreferenceClickListener() {
  
                  public boolean onPreferenceClick(Preference preference) {
                      // ...
                      return true;
                  }
              });
              // [...]
          }
      }
  }
  </code></pre>
  
  <p>Thanks for any suggestion</p>