forked from organicmaps/organicmaps
ui
This commit is contained in:
parent
3b3ec017b0
commit
61d892e9eb
2 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,7 @@
|
|||
style="@style/Widget.MapButtonBottom"
|
||||
android:layout_width="@dimen/bottom_button_width"
|
||||
android:layout_height="@dimen/bottom_panel_height"
|
||||
android:layout_gravity="center"
|
||||
android:onClick="onMyPositionClicked"
|
||||
android:src="@drawable/ic_my_position"/>
|
||||
|
||||
|
@ -29,6 +30,7 @@
|
|||
style="@style/Widget.MapButtonBottom"
|
||||
android:layout_width="@dimen/bottom_button_width"
|
||||
android:layout_height="@dimen/bottom_panel_height"
|
||||
android:layout_gravity="center"
|
||||
android:onClick="onSearchClicked"
|
||||
android:src="@drawable/ic_search"/>
|
||||
|
||||
|
@ -43,6 +45,7 @@
|
|||
style="@style/Widget.MapButtonBottom"
|
||||
android:layout_width="@dimen/bottom_button_width"
|
||||
android:layout_height="@dimen/bottom_panel_height"
|
||||
android:layout_gravity="center"
|
||||
android:onClick="onBookmarksClicked"
|
||||
android:src="@drawable/ic_bookmark"/>
|
||||
|
||||
|
@ -57,6 +60,7 @@
|
|||
style="@style/Widget.MapButtonBottom"
|
||||
android:layout_width="@dimen/bottom_button_width"
|
||||
android:layout_height="@dimen/bottom_panel_height"
|
||||
android:layout_gravity="center"
|
||||
android:onClick="onMoreClicked"
|
||||
android:src="@drawable/ic_settings"/>
|
||||
|
||||
|
|
|
@ -574,10 +574,7 @@ public class MapInfoView extends LinearLayout implements View.OnClickListener
|
|||
l.getLatitude(), l.getLongitude(), northAzimuth);
|
||||
|
||||
if (da.getAthimuth() >= 0)
|
||||
{
|
||||
mAvDirection.setVisibility(View.VISIBLE);
|
||||
mAvDirection.setAzimut(da.getAthimuth());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue