I have xml file that defines some preference screens like the following example
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="root_preferencescreen">
<PreferenceScreen android:key="general_sett" android:title="general settings" />
....
<PreferenceScreen android:key="extras_sett" android:title="extras settings" />
</PreferenceScreen>
I would like to be able to increase the font size for the text of the preference screen , but because the within a preference screen there is no android:textsize tag , i have no idea how to accomplish that !
You can make a
TextViewlayout xml that looks something like this:and set the layout of your preference category in your
preferences.xmllike this:As long as the
TextViewhas the id@+android:id/titleyou can make the layout look however you want. There is also a way to do this with styles that I haven’t quite figured out.