summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-10-22 15:04:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-10-22 15:04:37 +0000
commitf9efc5d941b06862d8e0e3906ec9d05cee3dd1c8 (patch)
treeb75e0c2d002b402fefd14231782fe87cf828755f /src
parentfa8d3ef2ef9ede4ac52a3dd87ef4ed077b514015 (diff)
parent519596dc3dc4f0224a20b9198ea5e85c248397b0 (diff)
Merge "Use setMargins instead of setMarginsRelative"
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java
index daba39e6d..e7190c52f 100644
--- a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java
+++ b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java
@@ -323,8 +323,7 @@ public class PhoneFavoriteMergedAdapter extends BaseAdapter {
final FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(
FrameLayout.LayoutParams.MATCH_PARENT,
FrameLayout.LayoutParams.WRAP_CONTENT);
- params.setMarginsRelative(mCallLogPadding, mCallLogPadding, mCallLogPadding,
- mCallLogPadding);
+ params.setMargins(mCallLogPadding, mCallLogPadding, mCallLogPadding, mCallLogPadding);
view.setLayoutParams(params);
super.addView(view);