title: How can I dynamically create an Android Preference?
body: <p>A mockup is below that probably explains better than words. Essentially, I want a list where items can be added/removed dynamically by the user, and each item has configurable settings screen. </p>
  
  <p>So there are two keys here:</p>
  
  <ol>
  <li>Adding to the main preferences screen</li>
  <li>Starting an
  activityForResult when an item is pressed. This activity will show
  another preferences view (sliders, checkboxes, etc) where the user
  can manipulate these and then return the new values to be stored in
  a data structure.</li>
  </ol>
  
  <p>Image:<br>
  <img src="https://i.stack.imgur.com/ecPqL.png" alt="http://i.stack.imgur.com/eZsfh.png"></p>