There is no option to change the color of TextView
Small text
How can I change that color using the Android Studio Theme editor ( Android Studio Theme editor )?
There is no option to change the color of TextView
Small text
How can I change that color using the Android Studio Theme editor ( Android Studio Theme editor )?
What you want to do applies to the whole topic, but it seems that through the Android Studio Theme Editor There seems to be no way to change the text color of a TextView
with appearance Small
, you can only change it:
android:textColorPrimary
for the text "Large"
Y
android:textColorSecondary
for the text "Medium":
I suggest another option that would be to use the android:textAppearance="?android:attr/textAppearanceSmall"
property to define your text as "small" and use the android:textColor
property to define the color:
<TextView
android:id="@+id/myTextView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Big Text"
android:textStyle="italic"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@android:color/holo_red_dark"/>
<TextView
android:id="@+id/myTextView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Medium Text"
android:textStyle="italic"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@android:color/holo_blue_dark"/>
<TextView
android:id="@+id/myTextView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Small Text"
android:textStyle="italic"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/holo_green_dark"/>