summaryrefslogtreecommitdiff
path: root/java/com/android/newbubble/res/values/styles.xml
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2018-01-19 11:39:03 -0800
committerCopybara-Service <copybara-piper@google.com>2018-01-19 13:16:20 -0800
commit7e421825670b090d2fe035575769af751e908015 (patch)
treefe7464bf4c4a40df2d56c4a163b3965e65e4e5c4 /java/com/android/newbubble/res/values/styles.xml
parent61f30b6c0e2f01c0a7f85346e9ac1f7735f01567 (diff)
Bubble v2 layout changes.
To display expanded view properly with display size and font size set to largest, we made the following changes: - increase expanded view width - use fixed expanded view button height - remove blue background behind avatar Test: manual PiperOrigin-RevId: 182565152 Change-Id: Ie4cea2c42b66320767e283144ddd5d7c5ff40e1c
Diffstat (limited to 'java/com/android/newbubble/res/values/styles.xml')
-rw-r--r--java/com/android/newbubble/res/values/styles.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/com/android/newbubble/res/values/styles.xml b/java/com/android/newbubble/res/values/styles.xml
index 6c138d645..5a900be6b 100644
--- a/java/com/android/newbubble/res/values/styles.xml
+++ b/java/com/android/newbubble/res/values/styles.xml
@@ -18,10 +18,11 @@
<resources>
<style name="CheckableButton">
<item name="android:layout_width">@dimen/bubble_expanded_width</item>
- <item name="android:layout_height">wrap_content</item>
+ <item name="android:layout_height">44dp</item>
- <item name="android:paddingTop">@dimen/bubble_button_padding_vertical</item>
- <item name="android:paddingBottom">@dimen/bubble_button_padding_vertical</item>
+ <item name="android:gravity">center_vertical</item>
+ <item name="android:maxLines">2</item>
+ <item name="android:ellipsize">end</item>
<item name="android:paddingStart">@dimen/bubble_button_padding_horizontal</item>
<item name="android:paddingEnd">@dimen/bubble_button_padding_horizontal</item>
<item name="android:drawablePadding">@dimen/bubble_icon_padding</item>