generated from Grigo/AndroidTemplate
139 lines
5.3 KiB
XML
139 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<org.mapsforge.map.android.view.MapView
|
|
android:id="@+id/mapView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<ScrollView
|
|
android:id="@+id/mapSidePanel"
|
|
android:layout_width="152dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end|top"
|
|
android:layout_margin="6dp"
|
|
android:background="#CC0F3460"
|
|
android:elevation="4dp"
|
|
android:fillViewport="false"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="6dp">
|
|
|
|
<TextView
|
|
android:id="@+id/mapStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="10sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/mapDistance"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:textColor="#00FF88"
|
|
android:textSize="9sp"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btnCenterMe"
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:minHeight="32dp"
|
|
android:text="@string/map_center_me"
|
|
android:textSize="10sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCenterTx"
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="2dp"
|
|
android:layout_weight="1"
|
|
android:minHeight="32dp"
|
|
android:text="@string/map_center_tx"
|
|
android:textSize="10sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCenterRx"
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="2dp"
|
|
android:layout_weight="1"
|
|
android:minHeight="32dp"
|
|
android:text="@string/map_center_rx"
|
|
android:textSize="10sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCenterBoth"
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="2dp"
|
|
android:layout_weight="1"
|
|
android:minHeight="32dp"
|
|
android:text="@string/map_center_both"
|
|
android:textSize="10sp" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/mapLegend"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:text="@string/map_legend"
|
|
android:textColor="#CCCCCC"
|
|
android:textSize="9sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnTrack"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:minHeight="36dp"
|
|
android:text="@string/track_start"
|
|
android:textSize="11sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnPairedTrack"
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:minHeight="36dp"
|
|
android:text="@string/track_paired_start"
|
|
android:textSize="11sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/trackStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:textColor="#CCCCCC"
|
|
android:textSize="9sp" />
|
|
|
|
<Spinner
|
|
android:id="@+id/trackSpinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</FrameLayout>
|