forked from organicmaps/organicmaps
Removed address text from PPP and bring it to front of map zoom buttons.
This commit is contained in:
parent
e4815c2a50
commit
19443565d1
6 changed files with 1 additions and 39 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -690,6 +690,7 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
{
|
||||
mInfoView = (MapInfoView) findViewById(R.id.info_box);
|
||||
mInfoView.setOnVisibilityChangedListener(this);
|
||||
mInfoView.bringToFront();
|
||||
}
|
||||
|
||||
private void yotaSetup()
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue