title: how to edit custom xml from pull to refresh library?
body: <p>I have to implement a library of <code>PullToRefresh</code> in my project.</p>
  
  <p>I need to change the text color of the "loading..." and "pull to refresh". So I read the doc inside the project and I understood that it needs to be done in the xml, but I'm not sure how.</p>
  
  <p>I have tried to add "color=0x0" and stuff like that but it didn't work .</p>
  
  <p>This is the resource file to be changed </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  
      &lt;declare-styleable name="PullToRefresh"&gt;
  
          &lt;!-- A drawable to use as the background of the Refreshable View --&gt;
          &lt;attr name="ptrRefreshableViewBackground" format="reference|color" /&gt;
  
          &lt;!-- A drawable to use as the background of the Header and Footer Loading Views --&gt;
          &lt;attr name="ptrHeaderBackground" format="reference|color" /&gt;
  
          &lt;!-- Text Color of the Header and Footer Loading Views --&gt;
          &lt;attr name="ptrHeaderTextColor" format="reference|color" /&gt;
  
          &lt;!-- Text Color of the Header and Footer Loading Views Sub Header --&gt;
          &lt;attr name="ptrHeaderSubTextColor" format="reference|color" /&gt;
  
          &lt;!-- Mode of Pull-to-Refresh that should be used --&gt;
          &lt;attr name="ptrMode"&gt;
              &lt;flag name="disabled" value="0x0" /&gt;
              &lt;flag name="pullFromStart" value="0x1" /&gt;
              &lt;flag name="pullFromEnd" value="0x2" /&gt;
              &lt;flag name="both" value="0x3" /&gt;
              &lt;flag name="manualOnly" value="0x4" /&gt;
  
              &lt;!-- These last two are depreacted --&gt;
              &lt;flag name="pullDownFromTop" value="0x1" /&gt;
              &lt;flag name="pullUpFromBottom" value="0x2" /&gt;
          &lt;/attr&gt;
  
          &lt;!-- Whether the Indicator overlay(s) should be used --&gt;
          &lt;attr name="ptrShowIndicator" format="reference|boolean" /&gt;
  
          &lt;!-- Drawable to use as Loading Indicator. Changes both Header and Footer. --&gt;
          &lt;attr name="ptrDrawable" format="reference" /&gt;
  
          &lt;!-- Drawable to use as Loading Indicator in the Header View. Overrides value set in ptrDrawable. --&gt;
          &lt;attr name="ptrDrawableStart" format="reference" /&gt;
  
          &lt;!-- Drawable to use as Loading Indicator in the Footer View. Overrides value set in ptrDrawable. --&gt;
          &lt;attr name="ptrDrawableEnd" format="reference" /&gt;
  
          &lt;!-- Whether Android's built-in Over Scroll should be utilised for Pull-to-Refresh. --&gt;
          &lt;attr name="ptrOverScroll" format="reference|boolean" /&gt;
  
          &lt;!-- Base text color, typeface, size, and style for Header and Footer Loading Views --&gt;
          &lt;attr name="ptrHeaderTextAppearance" format="reference" /&gt;
  
          &lt;!-- Base text color, typeface, size, and style for Header and Footer Loading Views Sub Header --&gt;
          &lt;attr name="ptrSubHeaderTextAppearance" format="reference" /&gt;
  
          &lt;!-- Style of Animation should be used displayed when pulling. --&gt;
          &lt;attr name="ptrAnimationStyle"&gt;
              &lt;flag name="rotate" value="0x0" /&gt;
              &lt;flag name="flip" value="0x1" /&gt;
          &lt;/attr&gt;
  
          &lt;!-- Whether the user can scroll while the View is Refreshing --&gt;
          &lt;attr name="ptrScrollingWhileRefreshingEnabled" format="reference|boolean" /&gt;
  
          &lt;!--
              Whether PullToRefreshListView has it's extras enabled. This allows the user to be 
              able to scroll while refreshing, and behaves better. It acheives this by adding
              Header and/or Footer Views to the ListView.
          --&gt;
          &lt;attr name="ptrListViewExtrasEnabled" format="reference|boolean" /&gt;
  
          &lt;!--
              Whether the Drawable should be continually rotated as you pull. This only
              takes effect when using the 'Rotate' Animation Style.
          --&gt;
          &lt;attr name="ptrRotateDrawableWhilePulling" format="reference|boolean" /&gt;
  
          &lt;!-- BELOW HERE ARE DEPRECEATED. DO NOT USE. --&gt;
          &lt;attr name="ptrAdapterViewBackground" format="reference|color" /&gt;
          &lt;attr name="ptrDrawableTop" format="reference" /&gt;
          &lt;attr name="ptrDrawableBottom" format="reference" /&gt;
      &lt;/declare-styleable&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>I need the text to be in black color.</p>
  
  <p>This is the link to the library (credit) :</p>
  
  <p><a href="https://github.com/chrisbanes/Android-PullToRefresh" rel="nofollow">https://github.com/chrisbanes/Android-PullToRefresh</a></p>