title: NumberPicker not showing numbers
body: <p>Im trying to create an <code>AlertDialog</code> with a <code>NumberPicker</code> inside it.<br>
  However it only displays the two dividers and no text.</p>
  
  <p>See
  <a href="http://imageshack.com/a/img673/8149/aWHQfj.png" rel="nofollow">http://imageshack.com/a/img673/8149/aWHQfj.png</a></p>
  
  <p>Im using:</p>
  
  <pre><code>android:minSdkVersion="11"
  android:targetSdkVersion="19"
  </code></pre>
  
  <p><strong>code:</strong></p>
  
  <pre><code>    private void showInputDialog() {
      Context context = getActivity();
      RelativeLayout linearLayout = new RelativeLayout(context);
      final NumberPicker numberPicker = new NumberPicker(context);
  
      numberPicker.setMaxValue(1);
      numberPicker.setMinValue(100);
      numberPicker.setWrapSelectorWheel(false);
  
      RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(50, 50);
      RelativeLayout.LayoutParams numPicerParams = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
      numPicerParams.addRule(RelativeLayout.CENTER_HORIZONTAL);
  
      linearLayout.setLayoutParams(params);
      linearLayout.addView(numberPicker,numPicerParams);
  
      AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);
      alertDialogBuilder.setTitle("Number of strokes");
      alertDialogBuilder.setView(linearLayout);
      alertDialogBuilder
              .setCancelable(false)
              .setPositiveButton("Ok",
                      new DialogInterface.OnClickListener() {
                          public void onClick(DialogInterface dialog, int id) {
                              int score = numberPicker.getValue();
  
                              if (mRows != null) {
                                  if (mClickedColIndex &gt; 10) mClickedColIndex -= 1;
  
                                  mClickedPlayer.setManualScore(mClickedColIndex, score);
                              } else {
                                  if (mClickedRowIndex &gt; 10) mClickedRowIndex -= 1;
  
                                  mClickedPlayer.setManualScore(mClickedRowIndex, score);
                              }
  
                              mClickedText.setText(Integer.toString(score));
  
                              setupScorecard();
                          }
                      })
              .setNegativeButton("Cancel",
                      new DialogInterface.OnClickListener() {
                          public void onClick(DialogInterface dialog,
                                              int id) {
                              dialog.cancel();
                          }
                      });
  
      AlertDialog alertDialog = alertDialogBuilder.create();
      alertDialog.show();
  }
  </code></pre>
  
  <p>I've done many searches on the topic but i have yet not found any solution that works..</p>
  
  <p>Also what's wierd i cant set: <code>android:numberPickerStyle</code> in styles.xml.</p>
  
  <p>Anyone got any ideas about this?</p>