I\'m trying to create a digital clock widget with a custom font. And this has proven to be the biggest challenge of my Android experience. (Thought it would be as simple as
I had the same problem... You have 2 options as I know till now:
android:fontFamily="sans-serif-thin"
attribute for example in your xml file.
Works like a charm!This is my TextView:
And this is how it looks like:
The only disadvantage of this method is that there isn't large selection of system fonts you can use.
Edit: For updating the widget every minute - you need to start a Service which can update your clock each minute (or second if you want). Check this example too.