session-android/res/values/text_styles.xml

48 lines
1.9 KiB
XML
Raw Normal View History

2018-06-22 20:08:14 +00:00
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Signal.Text.Headline" parent="Base.TextAppearance.AppCompat.Headline">
<item name="android:textSize">28sp</item>
2018-06-26 17:27:44 +00:00
<item name="android:lineSpacingExtra">3sp</item>
2018-06-22 20:08:14 +00:00
<item name="android:fontFamily">sans-serif</item>
<item name="android:letterSpacing">0</item>
2018-06-26 17:27:44 +00:00
<!-- TODO: Get proper letterSpacing -->
2018-06-22 20:08:14 +00:00
</style>
<style name="Signal.Text.Body" parent="Base.TextAppearance.AppCompat.Body1">
<item name="android:textSize">16sp</item>
2018-06-26 17:27:44 +00:00
<item name="android:lineSpacingExtra">4sp</item>
2018-06-22 20:08:14 +00:00
<item name="android:fontFamily">sans-serif</item>
2018-06-26 17:27:44 +00:00
<item name="android:letterSpacing">0.01</item>
2018-06-22 20:08:14 +00:00
</style>
<style name="Signal.Text.Preview" parent="Base.TextAppearance.AppCompat.Body2">
<item name="android:textSize">14sp</item>
2018-06-26 17:27:44 +00:00
<item name="android:lineSpacingExtra">3sp</item>
2018-06-22 20:08:14 +00:00
<item name="android:fontFamily">sans-serif</item>
2018-07-25 13:58:43 +00:00
<item name="android:letterSpacing">0.01</item>
2018-06-22 20:08:14 +00:00
</style>
<style name="Signal.Text.Caption" parent="Base.TextAppearance.AppCompat.Caption">
<item name="android:textSize">12sp</item>
2018-06-26 17:27:44 +00:00
<item name="android:lineSpacingExtra">2sp</item>
2018-06-22 20:08:14 +00:00
<item name="android:fontFamily">sans-serif</item>
2018-06-26 17:27:44 +00:00
<item name="android:letterSpacing">0.03</item>
</style>
<style name="Signal.Text.Caption.MessageSent">
<item name="android:textColor">?conversation_item_sent_text_secondary_color</item>
<item name="android:shadowRadius">0</item>
2018-06-22 20:08:14 +00:00
</style>
2018-06-26 17:27:44 +00:00
<style name="Signal.Text.Caption.MessageReceived">
<item name="android:textColor">?conversation_item_received_text_secondary_color</item>
<item name="android:shadowRadius">0</item>
<item name="android:alpha">0.7</item>
</style>
<style name="Signal.Text.Caption.MessageImageOverlay">
<item name="android:textColor">@color/core_white</item>
</style>
2018-06-22 20:08:14 +00:00
</resources>