title: Styling Progressbar Android
body: <p>I'm trying to style some programmatically created progressbars. I have some .xml made ones in which i use this style.          </p>
  
  <pre><code>style="@android:style/Widget.DeviceDefault.ProgressBar.Large"
  </code></pre>
  
  <p>I'm trying but I can't figure out how to use this particular style for the programmatically made ones. I have been trying with this one:</p>
  
  <pre><code>android.R.attr.progressBarStyleLarge
  </code></pre>
  
  <p>Edit:Currently I'm trying </p>
  
  <pre><code>ArrayList&lt;ProgressBar&gt; progressArrayList = new ArrayList&lt;&gt;();
  progressArrayList.add(new ProgressBar(getContext(), null ,android.R.style.Widget_DeviceDefault_ProgressBar_Large));
  </code></pre>
  
  <p>but they dissapear when I use the style like that.</p>