Mobile_Application_Developm.../DailyHelper/app/src/main/res/layout/fragment_map.xml

50 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ly_map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/holo_orange_light">
<com.google.android.gms.maps.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/rg_views">
</com.google.android.gms.maps.MapView>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Karte, Aktuelle Position, GPS Koordinaten"
android:textSize="30dp"/>
<RadioGroup
android:id="@+id/rg_views"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center_horizontal"
android:orientation="horizontal"
android:background="@color/cardview_light_background">
<RadioButton
android:id="@+id/rb_map"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/map"
android:textSize="20dp"
android:checked="true" />
<RadioButton
android:id="@+id/rb_satellite"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/satellite"
android:textSize="20dp"/>
</RadioGroup>
</RelativeLayout>