Instance to set textAppearance in XML

Instance to set textAppearance in XML: <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:instruments=”http://schemas.android.com/instruments” android:layout_width=”match_parent” android:layout_height=”match_parent” android:orientation=”vertical” instruments:context=”com.instance.androidtextappearance.MainActivity” > <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:textual content=”android-coding.blogspot.com” android:textSize=”24dp” android:textStyle=”daring” /> <TextView android:layout_width=”match_parent” android:layout_height=”wrap_content” android:textual content=”textAppearance” android:textAppearance=”?android:textAppearance” /> <TextView …

Read More

Create customized textual content fashion

Instance to create customized textual content fashion: Modify /res/values/types.xml to create our customized textual content fashion “LargeRedText”, “InverseMediumBlueText”, “GreenText”, “ItalicGrayText” and “Daring50BlackText”. <assets xmlns:android=”http://schemas.android.com/apk/res/android”> <!– Base utility theme, depending on API …

Read More