Get immediate access to this and over 1,500+ other videos and books.

Boost your skills with a raywenderlich.com Beginner subscription. With over 60+ video courses and our core foundational programming books bundled in one subscription, it’s simply the best investment you can make in your development career.

Style Text

This video was last updated on Jul 14 2022

Learn how to style the text views in the app.

Contributors

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

You worked mainly with themes in the last episode. It’s time to create and assign styles for the TextViews in the bullseye app. Let’s do that now.

<style name="game_stats_text">
    <item name="android:textSize">20sp</item>
</style>
style="@style/game_stats_text"
style="@style/game_stats_text"
<style name="instruction_text">
    <item name="android:letterSpacing">0.2</item>
    <item name="textAllCaps">true</item>
    <item name="android:textAlignment">center</item>
</style>
style="@style/instruction_text"
<style name="big_text">
    <item name="android:textSize">32sp</item>
</style>
style="@style/big_text"
<item name="android:textStyle">bold</item>
<item name="android:textColor">@color/black</item>

Reviews

Comments