diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-15 00:07:33 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-15 00:07:33 +0000 |
commit | ebd8f491645332b270bbe08e03261589cd0f7276 (patch) | |
tree | dc0c4214c315070dad5fb81d71e3d02a835fcdb3 /src | |
parent | d9da2416f9dbf8fb3609feee4d078f5a6f734fb1 (diff) | |
parent | 18c60e79a38f04eb2b1fdeea035e9b7ee2837163 (diff) |
am 18c60e79: am e2d0e484: DO NOT MERGE Slight UX tweaks to Dialer
* commit '18c60e79a38f04eb2b1fdeea035e9b7ee2837163':
DO NOT MERGE Slight UX tweaks to Dialer
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java | 2 | ||||
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoriteTileView.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java index 1c871e82f..d2288e4ce 100644 --- a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java +++ b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java @@ -344,7 +344,7 @@ public class PhoneFavoriteMergedAdapter extends BaseAdapter { @Override public void addView(View view) { - view.setBackgroundResource(R.drawable.dialer_recent_card_bg); + view.setBackgroundResource(R.drawable.ic_tile_for_recents_and_contact_tile); final FrameLayout.LayoutParams params = new FrameLayout.LayoutParams( FrameLayout.LayoutParams.MATCH_PARENT, diff --git a/src/com/android/dialer/list/PhoneFavoriteTileView.java b/src/com/android/dialer/list/PhoneFavoriteTileView.java index 471601d2b..9d36fb2a6 100644 --- a/src/com/android/dialer/list/PhoneFavoriteTileView.java +++ b/src/com/android/dialer/list/PhoneFavoriteTileView.java @@ -48,11 +48,11 @@ public abstract class PhoneFavoriteTileView extends ContactTileView { private static final String TAG = PhoneFavoriteTileView.class.getSimpleName(); private static final boolean DEBUG = false; - // These parameters instruct the photo manager to display the default image/letter at 70% of - // its normal size, and vertically offset upwards 20% towards the top of the letter tile, to + // These parameters instruct the photo manager to display the default image/letter at 65% of + // its normal size, and vertically offset upwards 17% towards the top of the letter tile, to // make room for the contact name and number label at the bottom of the image. - private static final float DEFAULT_IMAGE_LETTER_OFFSET = -0.2f; - private static final float DEFAULT_IMAGE_LETTER_SCALE = 0.70f; + private static final float DEFAULT_IMAGE_LETTER_OFFSET = -0.17f; + private static final float DEFAULT_IMAGE_LETTER_SCALE = 0.65f; /** Length of all animations in miniseconds. */ private int mAnimationDuration; |