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"?> | ||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
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" /> | ||||
<ImageButton | <ImageButton | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:id="@+id/ic_center_map" | android:id="@+id/icon_center_map" | ||||
android:src="@drawable/ic_center_map" | android:src="@drawable/ic_center_map" | ||||
android:layout_alignParentTop="true" | android:layout_alignParentTop="true" | ||||
android:layout_alignParentRight="true" | android:layout_alignParentRight="true" | ||||
android:layout_alignParentEnd="true" | android:layout_alignParentEnd="true" | ||||
android:layout_marginTop="10dp" | android:layout_marginTop="10dp" | ||||
android:layout_marginRight="10dp" | android:layout_marginRight="10dp" | ||||
android:background="#00ffffff" | android:background="#00ffffff" | ||||
android:contentDescription="@string/bt_center_map_description" | android:contentDescription="@string/bt_center_map_description" | ||||
android:cropToPadding="true" /> | android:cropToPadding="true" /> | ||||
<ImageButton | <ImageButton | ||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:id="@+id/ic_follow_me" | android:id="@+id/icon_follow" | ||||
android:src="@drawable/ic_follow_me" | android:src="@drawable/ic_follow_me" | ||||
android:background="#00ffffff" | android:background="#00ffffff" | ||||
android:contentDescription="@string/bt_follow_me_description" | android:contentDescription="@string/bt_follow_me_description" | ||||
android:cropToPadding="true" | android:cropToPadding="true" | ||||
android:layout_below="@+id/ic_center_map" | android:layout_below="@+id/icon_center_map" | ||||
android:layout_alignLeft="@+id/ic_center_map" | android:layout_alignLeft="@+id/icon_center_map" | ||||
android:layout_alignStart="@+id/ic_center_map" | android:layout_alignStart="@+id/icon_center_map" | ||||
android:layout_marginTop="10dp" /> | android:layout_marginTop="10dp" /> | ||||
</RelativeLayout> | </RelativeLayout> | ||||
No newline at end of file | 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