title: Get random string from array in Android and place it in a text view
body: <p>I have as a small project to create an array of <code>Name</code>, <code>Surname</code> and <code>Email</code> which I have created using xml in the value</p>
  
  <p>This is my xml named <code>Name</code> with a String named <code>names</code>    </p>
  
  <pre><code>&lt;resources&gt;
      &lt;string name="names"&gt;
          &lt;item&gt;Ivan&lt;/item&gt;
          &lt;item&gt;Santiago&lt;/item&gt;                    
          .....
      &lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>This is my XML named Surnames with a String called surnames</p>
  
  <pre><code>&lt;resources&gt;
      &lt;string name="surnames"&gt;
          &lt;item&gt;Rodríguez&lt;/item&gt;
          &lt;item&gt;Gómez&lt;/item&gt;
          &lt;item&gt;López&lt;/item&gt;
          .....
      &lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WroNK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WroNK.png" alt="enter image description here"></a></p>
  
  <pre><code>public class Registro extends AppCompatActivity implements View.OnClickListener {
  
      private TextView Nombre,Apellido,Correo;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_registro);
          //Seteamos las Cajas de Texto
          Nombre = (TextView) findViewById(R.id.txtNombre);
          Apellido = (TextView) findViewById(R.id.txtApellido);
          Correo = (TextView) findViewById(R.id.txtCorreo);
          //Ponemos en Modo de Escucha al Boton
          findViewById(R.id.btnGenerar).setOnClickListener(this);
      }
  
      @Override
      public void onClick(View v) {
  
      }
  }
  </code></pre>
  
  <p>I want to randomly select names from the XML arrays and display them in a text view.</p>