title: Custom ListView text color not changing according to theme when inside a Viewpager
body: <p>In my app I am having a <code>ViewPager</code> in the main-screen out of which 2 fragments have <strong>custom ListViews</strong>. The app has different themes with different text colors in each theme.</p>
  
  <p>I have implemented all the UI attributes from the XML itself under different themes and is working fine except for the <strong><em>TextColor in the custom ListViews inside ViewPager</em></strong> which I am controlling from the code.</p>
  
  <p><strong>Question : How can I control the TextColor from the XMl ?</strong> </p>
  
  <p>I have tried setting the color attributes for the 3 themes as <code>TextStyle</code>, <code>TextAppearence</code>, <code>TextColor</code> etc. But nothing worked while the same code was working when these custom ListViews were not within the ViewPager. </p>
  
  <p>I am not adding any specific codes as I have tried many methods. But as an example, this is the code which I used for setting the TextColor.</p>
  
  <pre><code>android:textColor="?attr/listItemContentTextColor"
  </code></pre>
  
  <p>where the attribute is,</p>
  
  <pre><code> &lt;attr name="listItemContentTextColor" format="color" /&gt;
  </code></pre>
  
  <p>which is specified in the themes as,</p>
  
  <pre><code>&lt;item name="listItemContentTextColor"&gt;@android:color/white&lt;/item&gt;
  </code></pre>
  
  <p>Is there any way I can control it from the XML itself?</p>