title: Android tab titles lowercase
body: <p>maybe not a big deal, but I can't get this to work. I have a tab navigation, and I am taking the tab titles from strings.xml as an array:</p>
  
  <pre><code> String[] tbTitles= resources.getStringArray(R.array.tabname);
  
      for (int i = 0; i &lt; mAppSectionsPagerAdapter.getCount(); i++) {
          actionBar.addTab(
                  actionBar.newTab()
                          .setText(tbTitles[i])
                          .setTabListener(this));
      }
  }
  </code></pre>
  
  <p>The tabnames are defined as lowercase (or better to say Capitalized - <strong>Example</strong>). It is working fine, but the issue is on older API's, where every tab title is uppercase.</p>
  
  <p>I went through some solutions on this forum, but didn't find any solution.</p>
  
  <p>I tried to put this in my for loop:</p>
  
  <pre><code> tbTitles[i] = tbTitles[i].toLowerCase();
  </code></pre>
  
  <p>I also tried to put this to my tablayout style in styles.xml:</p>
  
  <pre><code> &lt;item name="textAllCaps"&gt;false&lt;/item&gt;
  </code></pre>
  
  <p>The text is always Uppercase on older androids. Of course it is working for the newer API's.</p>
  
  <p>All I want is to Capitalize the titles also for older API's.</p>