OSDN Git Service
(root)
/
android-x86
/
packages-apps-Launcher3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ebefb
)
Fixing issue with font size.
author
Winson Chung
<winsonc@google.com>
Tue, 12 May 2015 01:02:55 +0000
(18:02 -0700)
committer
Winson Chung
<winsonc@google.com>
Tue, 12 May 2015 01:03:49 +0000
(
01:03
+0000)
Change-Id: I3f32840333f96ce49dfb915da3f335de0c0b022e
src/com/android/launcher3/BubbleTextView.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/BubbleTextView.java
b/src/com/android/launcher3/BubbleTextView.java
index
009cc2b
..
46caf4a
100644
(file)
--- a/
src/com/android/launcher3/BubbleTextView.java
+++ b/
src/com/android/launcher3/BubbleTextView.java
@@
-100,9
+100,9
@@
public class BubbleTextView extends TextView {
int display = a.getInteger(R.styleable.BubbleTextView_iconDisplay, DISPLAY_WORKSPACE);
int defaultIconSize = grid.iconSizePx;
if (display == DISPLAY_WORKSPACE) {
- setTextSize(grid.iconTextSizePx);
+ setTextSize(
TypedValue.COMPLEX_UNIT_PX,
grid.iconTextSizePx);
} else if (display == DISPLAY_ALL_APPS) {
- setTextSize(grid.allAppsIconTextSizePx);
+ setTextSize(
TypedValue.COMPLEX_UNIT_PX,
grid.allAppsIconTextSizePx);
defaultIconSize = grid.allAppsIconSizePx;
}