Removed address text from PPP and bring it to front of map zoom buttons.

This commit is contained in:
Dmitry Yunitsky 2014-07-11 02:13:22 +02:00 committed by Alex Zolotarev
parent e4815c2a50
commit 19443565d1
6 changed files with 1 additions and 39 deletions

View file

@ -5,14 +5,6 @@
android:orientation="vertical"
android:padding="10dp" >
<TextView
android:id="@+id/info_box_address"
style="@style/Holo.TextAppearance.Medium.Light"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@string/robotoLight" />
<include
android:id="@+id/info_box_geo_ref"
android:layout_width="match_parent"

View file

@ -5,14 +5,6 @@
android:orientation="vertical"
android:padding="10dp" >
<TextView
android:id="@+id/info_box_address"
style="@style/Holo.TextAppearance.Medium.Light"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@string/robotoLight" />
<include
android:id="@+id/info_box_geo_ref"
android:layout_width="match_parent"

View file

@ -5,14 +5,6 @@
android:orientation="vertical"
android:padding="10dp" >
<TextView
android:id="@+id/info_box_address"
style="@style/Holo.TextAppearance.Medium.Light"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@string/robotoLight" />
<include
android:id="@+id/info_box_geo_ref"
android:layout_width="match_parent"

View file

@ -5,14 +5,6 @@
android:orientation="vertical"
android:padding="10dp" >
<TextView
android:id="@+id/info_box_address"
style="@style/Holo.TextAppearance.Medium.Light"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@string/robotoLight" />
<include
android:id="@+id/info_box_geo_ref"
android:layout_width="match_parent"

View file

@ -690,6 +690,7 @@ public class MWMActivity extends NvEventQueueActivity
{
mInfoView = (MapInfoView) findViewById(R.id.info_box);
mInfoView.setOnVisibilityChangedListener(this);
mInfoView.bringToFront();
}
private void yotaSetup()

View file

@ -376,7 +376,6 @@ public class MapInfoView extends LinearLayout implements View.OnClickListener
mIsBookmarked.setChecked(isChecked);
setUpPreview();
setUpAddressBox();
setUpGeoInformation();
setUpBottomButtons();
setUpRoutingButtons();
@ -516,12 +515,6 @@ public class MapInfoView extends LinearLayout implements View.OnClickListener
}
}
private void setUpAddressBox()
{
final TextView addressText = (TextView) mPlacePageGroup.findViewById(R.id.info_box_address);
addressText.setText(Framework.getNameAndAddress4Point(mMapObject.getLat(), mMapObject.getLon()));
}
private void fillPlacePagePoi(MapObject poi)
{
mPlacePageContainer.removeAllViews();