title: Create a custom dialog with radio buttons list
body: <p>I've got a method in which i have a list of values:</p>
  
  <pre><code>     /**
       * ISO
       * */
      public void getISO(View view) {
          // Open dialog with radio buttons
          List&lt;String&gt; supported_isos = preview.getSupportedISOs();
          SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(MainActivity.this);
          String current_iso = sharedPreferences.getString(MainActivity.getISOPreferenceKey(), "auto");
  
      }
  </code></pre>
  
  <p>This method is enjected on onClick() of a <code>ImageButton</code>:</p>
  
  <pre><code>android:onClick="getISO"
  </code></pre>
  
  <p>But i need to rapresent this list in a dialog with radio buttons. Possibly the preference values should be already selected in the dialog.. Is it possible?</p>