OSDN Git Service
(root)
/
android-x86
/
packages-apps-Trebuchet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514f98d
)
Trebuchet: Fix page indicator bottom padding on setting change
author
cretin45
<cretin45@gmail.com>
Mon, 4 Jan 2016 20:48:59 +0000
(12:48 -0800)
committer
Gerrit Code Review
<gerrit@cyanogenmod.org>
Mon, 4 Jan 2016 22:46:45 +0000
(14:46 -0800)
Issue-id: CYNGNOS-1423
Change-Id: I1e5f21a215d9a8ba1679a1c700dd326ffc1441ac
src/com/android/launcher3/DeviceProfile.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/DeviceProfile.java
b/src/com/android/launcher3/DeviceProfile.java
index
6115df6
..
9a18433
100644
(file)
--- a/
src/com/android/launcher3/DeviceProfile.java
+++ b/
src/com/android/launcher3/DeviceProfile.java
@@
-491,7
+491,7
@@
public class DeviceProfile {
lp.gravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
lp.width = LayoutParams.WRAP_CONTENT;
lp.height = LayoutParams.WRAP_CONTENT;
- lp.bottomMargin =
hotseatBarHeightPx
;
+ lp.bottomMargin =
Math.max(hotseatBarHeightPx , lp.bottomMargin)
;
pageIndicator.setLayoutParams(lp);
}
}