108 lines
4.9 KiB
XML
108 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android.
|
|
~ Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com)
|
|
~
|
|
~ This program is free software; you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation; either version 2 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License along
|
|
~ with this program; if not, write to the Free Software Foundation, Inc.,
|
|
~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
-->
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:keepScreenOn="true">
|
|
|
|
<org.osmdroid.views.MapView
|
|
android:id="@+id/map_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/mapInfoLayout"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/id_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:text="@string/pat_osm_idName"
|
|
android:textColor="@color/themeLight"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/altitude"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="4dp"
|
|
android:text="@string/pat_altitude"
|
|
android:textColor="@color/themeLight"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/id_name" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/distance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4dp"
|
|
android:text="@string/pat_distance"
|
|
android:textColor="@color/themeLight"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="@+id/altitude"
|
|
app:layout_constraintTop_toBottomOf="@+id/altitude" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/velocity"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="4dp"
|
|
android:text="@string/pat_osm_vel"
|
|
android:textColor="@color/themeLight"
|
|
app:layout_constraintBaseline_toBaselineOf="@+id/altitude"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/lat_lon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/pat_osm_latLon"
|
|
android:textColor="@color/themeLight"
|
|
app:layout_constraintBaseline_toBaselineOf="@+id/distance"
|
|
app:layout_constraintEnd_toEndOf="@+id/velocity" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/copyright"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/map_copyright"
|
|
android:textColor="@color/themeLight"
|
|
android:textSize="12sp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |