diff --git a/android/res/drawable-hdpi/direction_mini.png b/android/res/drawable-hdpi/direction_mini.png deleted file mode 100644 index 0c0d866f42..0000000000 Binary files a/android/res/drawable-hdpi/direction_mini.png and /dev/null differ diff --git a/android/res/drawable-mdpi/direction_mini.png b/android/res/drawable-mdpi/direction_mini.png deleted file mode 100644 index 9b119b108a..0000000000 Binary files a/android/res/drawable-mdpi/direction_mini.png and /dev/null differ diff --git a/android/res/drawable-hdpi/diection_big.png b/android/res/drawable-sw600dp-hdpi/ic_direction.png similarity index 100% rename from android/res/drawable-hdpi/diection_big.png rename to android/res/drawable-sw600dp-hdpi/ic_direction.png diff --git a/android/res/drawable-mdpi/diection_big.png b/android/res/drawable-sw600dp-mdpi/ic_direction.png similarity index 100% rename from android/res/drawable-mdpi/diection_big.png rename to android/res/drawable-sw600dp-mdpi/ic_direction.png diff --git a/android/res/drawable-xhdpi/diection_big.png b/android/res/drawable-sw600dp-xhdpi/ic_direction.png similarity index 100% rename from android/res/drawable-xhdpi/diection_big.png rename to android/res/drawable-sw600dp-xhdpi/ic_direction.png diff --git a/android/res/drawable-xxhdpi/diection_big.png b/android/res/drawable-sw600dp-xxhdpi/ic_direction.png similarity index 100% rename from android/res/drawable-xxhdpi/diection_big.png rename to android/res/drawable-sw600dp-xxhdpi/ic_direction.png diff --git a/android/res/drawable-xhdpi/direction_mini.png b/android/res/drawable-xhdpi/direction_mini.png deleted file mode 100644 index 0804df8b6f..0000000000 Binary files a/android/res/drawable-xhdpi/direction_mini.png and /dev/null differ diff --git a/android/res/drawable-xxhdpi/direction_mini.png b/android/res/drawable-xxhdpi/direction_mini.png deleted file mode 100644 index b2feeb4c3b..0000000000 Binary files a/android/res/drawable-xxhdpi/direction_mini.png and /dev/null differ diff --git a/android/res/layout-land/fragment_direction.xml b/android/res/layout-land/fragment_direction.xml index d4a512e8bb..c18dd87f6f 100644 --- a/android/res/layout-land/fragment_direction.xml +++ b/android/res/layout-land/fragment_direction.xml @@ -12,9 +12,7 @@ android:id="@+id/anchor_center" android:layout_width="0px" android:layout_height="0px" - android:layout_centerInParent="true" - android:layout_marginLeft="@dimen/margin_direction_around_center" - android:layout_marginRight="@dimen/margin_direction_around_center"/> + android:layout_centerInParent="true"/> + android:layout_centerVertical="true"/> diff --git a/android/res/values/dimens.xml b/android/res/values/dimens.xml index 54fe76fcfb..baa7a9c8ef 100644 --- a/android/res/values/dimens.xml +++ b/android/res/values/dimens.xml @@ -82,7 +82,7 @@ 32dp 40dp 24dp - 0dp + 20dp 52sp 22sp 58sp diff --git a/android/res/values/styles.xml b/android/res/values/styles.xml index 57863976ce..507bbc42fa 100644 --- a/android/res/values/styles.xml +++ b/android/res/values/styles.xml @@ -159,6 +159,7 @@ diff --git a/android/src/com/mapswithme/maps/widget/placepage/DirectionFragment.java b/android/src/com/mapswithme/maps/widget/placepage/DirectionFragment.java index dd9bd821a2..0b1138621a 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/DirectionFragment.java +++ b/android/src/com/mapswithme/maps/widget/placepage/DirectionFragment.java @@ -60,7 +60,6 @@ public class DirectionFragment extends DialogFragment implements LocationHelper. private void initViews(View root) { mAvDirection = (ArrowView) root.findViewById(R.id.av__direction); - mAvDirection.setImageResource(R.drawable.diection_big); mTvTitle = (TextView) root.findViewById(R.id.tv__title); mTvSubtitle = (TextView) root.findViewById(R.id.tv__subtitle); mTvDistance = (TextView) root.findViewById(R.id.tv__straight_distance);