How To Get The Font Face Size And Formatting Of A Native Element In Android Application?
I would like to reuse the exact same font-face etc... like Android uses in the PreferenceScreen Here is a screenshot I am looking to reuse the title, and the summary style from the
Solution 1:
You can use system-defined text appearances like android:textAppearance="?android:attr/textAppearanceLarge
(also Small, Medium).
For more on these system-defined attributes, see:
There's also the hierarchyviewer
tool that is bundled with the SDK, which will let you inspect views and their attributes from any running app.
Post a Comment for "How To Get The Font Face Size And Formatting Of A Native Element In Android Application?"