Changeset View
Changeset View
Standalone View
Standalone View
app/src/main/res/layout/fragment_map.xml
- This file was moved from app/src/main/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"> | ||||
| <androidx.coordinatorlayout.widget.CoordinatorLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="match_parent" | |||||
| android:id="@+id/coord_layout" | |||||
| android:layout_alignParentBottom="true" | |||||
| android:layout_alignParentEnd="true" | |||||
| android:layout_alignParentRight="true" | |||||
| android:layout_gravity="bottom|end" | |||||
| > | |||||
| <org.osmdroid.views.MapView android:id="@+id/map" | <org.osmdroid.views.MapView android:id="@+id/map" | ||||
| android:layout_width="fill_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="fill_parent" /> | android:layout_height="match_parent" /> | ||||
| </androidx.coordinatorlayout.widget.CoordinatorLayout> | |||||
| <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/icon_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" | ||||
| Show All 11 Lines | <ImageButton | ||||
| 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/icon_center_map" | android:layout_below="@+id/icon_center_map" | ||||
| android:layout_alignLeft="@+id/icon_center_map" | android:layout_alignLeft="@+id/icon_center_map" | ||||
| android:layout_alignStart="@+id/icon_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