OSDN Git Service

Fix bug where system shortcuts text size is set to 0 in MW mode.
authorJon Miranda <jonmiranda@google.com>
Tue, 2 May 2017 19:49:33 +0000 (12:49 -0700)
committerJon Miranda <jonmiranda@google.com>
Tue, 2 May 2017 19:49:33 +0000 (12:49 -0700)
By default, the BubbleTextView sets the display to Workspace
mode, which sets the text size to be 0 in MW mode.

Bug: 37898830
Change-Id: I665611b9986f1025d54b7ddb80746d4016003313

res/layout/system_shortcut.xml

index 113b1be..dae9b5e 100644 (file)
@@ -30,6 +30,7 @@
         android:paddingEnd="@dimen/popup_padding_end"
         android:textSize="14sp"
         android:fontFamily="sans-serif"
+        launcher:iconDisplay="shortcut_popup"
         launcher:layoutHorizontal="true" />
 
     <View