Added new assets for fast-track with arrows.
diff --git a/src/com/android/contacts/SocialStreamActivity.java b/src/com/android/contacts/SocialStreamActivity.java
index b429a53..b4ca8bb 100644
--- a/src/com/android/contacts/SocialStreamActivity.java
+++ b/src/com/android/contacts/SocialStreamActivity.java
@@ -166,15 +166,19 @@
}
private int[] mLocation = new int[2];
+
+ private static final int PHOTO_WIDTH = 54;
+ private static final int PHOTO_HEIGHT = 54;
private void showFastTrack(View anchor, long aggId) {
Uri aggUri = ContentUris.withAppendedId(ContactsContract.Aggregates.CONTENT_URI, aggId);
anchor.getLocationInWindow(mLocation);
final int entryTop = mLocation[1];
+ final int x = (PHOTO_WIDTH / 2) + 3;
mFastTrack.dismiss();
- mFastTrack.show(aggUri, entryTop);
+ mFastTrack.show(aggUri, x, entryTop, PHOTO_HEIGHT);
}
/** {@inheritDoc} */