Changeset View
Changeset View
Standalone View
Standalone View
res/layout/activity_map.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
android:orientation="vertical" | |||||
android:layout_width="fill_parent" | android:layout_width="fill_parent" | ||||
android:layout_height="fill_parent"> | android:layout_height="fill_parent"> | ||||
<org.osmdroid.views.MapView android:id="@+id/map" | <org.osmdroid.views.MapView android:id="@+id/map" | ||||
android:layout_width="fill_parent" | android:layout_width="fill_parent" | ||||
android:layout_height="fill_parent" /> | android:layout_height="fill_parent" /> | ||||
</LinearLayout> | <ImageButton | ||||
No newline at end of file | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | |||||
android:id="@+id/ic_center_map" | |||||
android:src="@drawable/ic_center_map" | |||||
android:layout_alignParentTop="true" | |||||
android:layout_alignParentRight="true" | |||||
android:layout_alignParentEnd="true" | |||||
android:layout_marginTop="10dp" | |||||
android:layout_marginRight="10dp" | |||||
android:background="#00ffffff" | |||||
android:contentDescription="@string/bt_center_map_description" | |||||
android:cropToPadding="true" /> | |||||
<ImageButton | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="wrap_content" | |||||
android:id="@+id/ic_follow_me" | |||||
android:src="@drawable/ic_follow_me" | |||||
android:background="#00ffffff" | |||||
android:contentDescription="@string/bt_follow_me_description" | |||||
android:cropToPadding="true" | |||||
android:layout_below="@+id/ic_center_map" | |||||
android:layout_alignLeft="@+id/ic_center_map" | |||||
android:layout_alignStart="@+id/ic_center_map" | |||||
android:layout_marginTop="10dp" /> | |||||
</RelativeLayout> | |||||
No newline at end of file |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register