Last active
August 29, 2015 14:03
-
-
Save MaciejCiemiega/5b2d3c12a970aad1ab50 to your computer and use it in GitHub Desktop.
WearablePreferenceTheme - smaller fonts on PreferenceActivity on Wearable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define styles: | |
<style name="WearableTextAppearanceLarge" parent="@android:style/TextAppearance.Large"> | |
<item name="android:textSize">20sp</item> | |
</style> | |
<style name="WearableTextAppearanceSmall" parent="@android:style/TextAppearance.Small"> | |
<item name="android:textSize">12sp</item> | |
</style> | |
and theme: | |
<style name="WearablePreferenceTheme" parent="@android:style/Theme.DeviceDefault"> | |
<item name="android:textAppearanceLarge">@style/WearableTextAppearanceLarge</item> | |
<item name="android:textAppearanceSmall">@style/WearableTextAppearanceSmall</item> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment