Removed old color chooser.

This commit is contained in:
Dmitry Yunitsky 2014-07-11 02:21:06 +02:00 committed by Alex Zolotarev
parent 19443565d1
commit 3cd68e660e
2 changed files with 9 additions and 23 deletions
android
res/layout
src/com/mapswithme/maps/widget

View file

@ -71,32 +71,16 @@
<include layout="@layout/green_separator" />
<LinearLayout
<TextView
android:id="@+id/pin_set_chooser"
style="@style/pinEditableParam"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp_x_4"
android:gravity="bottom"
android:orientation="horizontal" >
<TextView
android:id="@+id/pin_set_chooser"
style="@style/pinEditableParam"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="0dp"
android:layout_weight="1"
android:background="@drawable/spinner_background_holo_light"
android:focusable="false" />
<ImageView
android:id="@+id/color_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="@drawable/spinner_background_holo_light"
android:paddingLeft="@dimen/dp_x_4"
android:src="@drawable/ic_location" />
</LinearLayout>
android:layout_weight="1"
android:background="@drawable/spinner_background_holo_light"
android:focusable="false" />
<!-- DESCR -->

View file

@ -738,9 +738,11 @@ public class MapInfoView extends LinearLayout implements View.OnClickListener
break;
case R.id.info_box_back_to_caller:
ParsedMmwRequest.getCurrentRequest().sendResponseAndFinish((Activity) getContext(), true);
break;
case R.id.btn_edit_title:
Bookmark bmk = (Bookmark) mMapObject;
BookmarkActivity.startWithBookmark(getContext(), bmk.getCategoryId(), bmk.getBookmarkId());
break;
case R.id.btn_route_from:
Framework.nativeSetRouteStart(mMapObject.getLat(), mMapObject.getLon());
break;