I am searching for a long time but I was not successful.
Is there any method, so that the TextView size increases depending on the device screen size?
So far I am using the below code but even then I am facing this sort of issue. I want to set larger size than textAppearanceLarge
in below code.
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall" />
If I set some fixed size, say android:textSize="32sp"
it may look large for Screen sizes like Galaxy Ace but looks small in S3-like devices.
Any related answers are welcomed and thank you in advance.