Changed margins in PP and color in search.

This commit is contained in:
Dmitry Yunitsky 2014-07-13 20:24:06 +02:00 committed by Alex Zolotarev
parent b8ef2b7f9e
commit d588f9bb2b
5 changed files with 8 additions and 3 deletions

View file

@ -17,6 +17,7 @@
android:id="@+id/ll_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_small"
android:orientation="horizontal">
<RelativeLayout
@ -104,6 +105,8 @@
android:id="@+id/place_page_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_small"
android:layout_marginRight="@dimen/margin_small"
android:layout_weight="1">
</ScrollView>
</LinearLayout>

View file

@ -37,6 +37,7 @@
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginRight="@dimen/margin_small"
android:background="@android:color/transparent"
android:layout_below="@id/info_box_geo_container_dist"/>

View file

@ -53,8 +53,8 @@
<color name="bg_bottom_toolbar_pressed">#15d081</color>
<color name="text_search_item">@android:color/white</color>
<color name="text_search_item_greyed">@android:color/darker_gray</color>
<color name="bg_search_green">#15d080</color>
<color name="bg_search_green_pressed">#99ff99</color>
<color name="bg_search_green">#1F9F7E</color>
<color name="bg_search_green_pressed">#68BEA8</color>
<color name="bg_top_panels">#15D180</color>
</resources>

View file

@ -31,6 +31,7 @@
<dimen name="sp_x_4">20sp</dimen>
<dimen name="sp_x_5">25sp</dimen>
<dimen name="color_chooser_radius">24dp</dimen>
<dimen name="dialog_max_height">320dp</dimen>
<dimen name="zoom_plus_top_margin">0dp</dimen>
<dimen name="zoom_margin">5dp</dimen>

View file

@ -695,7 +695,7 @@ public class MapInfoView extends LinearLayout implements View.OnClickListener
if (!TextUtils.equals(from, to))
Statistics.INSTANCE.trackColorChanged(getContext(), from, to);
mColorImage.setImageDrawable(UiUtils
.drawCircleForPin(to, (int) getResources().getDimension(R.dimen.dp_x_3), getResources()));
.drawCircleForPin(to, (int) getResources().getDimension(R.dimen.color_chooser_radius), getResources()));
}
private TranslateAnimation generateSlideAnimation(float fromX, float toX, float fromY, float toY)