Software⏱️ 2 min read📅 2026-05-31

How to Fix: android:textAllCaps="false" not working for TabLayout design Support

Android TabLayout textAllCaps issue resolved by setting android:fontFamily="" or using app:tabTextAppearance.

Quick Answer: Set android:fontFamily=""

The issue of the Tab Title in all caps is caused by the default styling applied to the TabLayout. To fix this, you can use one of the following methods:

🛠️ Step-by-Step Verified Fixes

Method 1: Use the android:style attribute

  1. Step 1: Set the style attribute for the TabLayout using the android:style attribute. For example, you can use the following code:

android:style="@style/Widget.MaterialComponents.TabLayout}

Method 2: Use the app:tabTextAppearance attribute

  1. Step 1: Set the tab text appearance using the app:tabTextAppearance attribute. For example, you can use the following code:

app:tabTextAppearance="@style/Widget.MaterialComponents.TabLayout.TextOnly">/android.support.design.widget.TabLayout

By using one of these methods, you should be able to remove the all caps styling from your TabLayout.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions