#2182 - Replacing existing iOS style compass with more Android style compass artwork

This commit is contained in:
Brad Leege
2015-08-26 17:25:30 -07:00
parent 3643053cb4
commit 1424ce72a5
3 changed files with 1 additions and 1 deletions

View File

@@ -287,7 +287,7 @@ public class MapView extends FrameLayout implements LocationListener {
mCompassListener = new CompassListener();
mCompassView = new ImageView(mContext);
mCompassView.setImageDrawable(ContextCompat.getDrawable(getContext(), R.drawable.compass));
mCompassView.setImageDrawable(ContextCompat.getDrawable(getContext(), R.drawable.compass_custom_flat));
mCompassView.setContentDescription(getResources().getString(R.string.compassContentDescription));
LayoutParams lp = new FrameLayout.LayoutParams((int)(48 * mScreenDensity), (int)(48 * mScreenDensity));
lp.gravity = Gravity.TOP | Gravity.END;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB