Conversation View UI Refresh: Cards.
Lots of changes:
New show pictures asset.
Added border as a new view type in the conversation
view to vertically separate cards. Changing its size
is TBD.
Final UI for details header (both collapsed and
expanded).
Side borders are accomplished via a new overlay layer that
is positions a view to each side of the conversation view.
Lots of dimension changes, padding and margin changes, and
other pixelpushing.
Change-Id: I4029ae46896e27fe20b005c01b8df04bb2a46c2a
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 9263316..474eae8 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -250,17 +250,20 @@
</style>
<style name="MessageSenderNameStyle">
+ <item name="android:singleLine">true</item>
<item name="android:textSize">16sp</item>
- <item name="android:textStyle">bold</item>
<item name="android:textColor">@color/conv_header_text_dark</item>
</style>
<style name="MessageHeaderSubtitleStyle">
+ <item name="android:singleLine">true</item>
<item name="android:textSize">12sp</item>
<item name="android:textColor">@color/conv_header_text_dark</item>
</style>
<style name="MessageHeaderSnippetStyle">
+ <item name="android:lines">2</item>
+ <item name="android:lineSpacingExtra">1dp</item>
<item name="android:textSize">12sp</item>
<item name="android:textColor">@color/conv_header_text_light</item>
</style>
@@ -272,13 +275,16 @@
<item name="android:textSize">12sp</item>
</style>
+ <style name="MessageHeaderShowPicsStyle" parent="MessageHeaderSmallStyle">
+ <item name="android:textColor">@color/conv_header_text_light</item>
+ </style>
+
<style name="MessageHeaderUpperDateStyle" parent="MessageHeaderSmallStyle">
<item name="android:minHeight">24dp</item>
</style>
<style name="MessageAttachmentsHeaderStyle" parent="MessageHeaderSmallStyle">
<item name="android:textStyle">bold</item>
- <item name="android:layout_marginBottom">8dp</item>
<item name="android:textAllCaps">true</item>
</style>
@@ -292,7 +298,7 @@
<style name="MessageHeaderActionButtonStyle" parent="android:Widget.Holo.Button.Borderless">
<item name="android:layout_width">@dimen/message_header_action_button_width</item>
- <item name="android:layout_height">match_parent</item>
+ <item name="android:layout_height">@dimen/message_header_action_button_height</item>
<item name="android:scaleType">center</item>
</style>