mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-04 03:47:24 +00:00
147 lines
6.2 KiB
XML
147 lines
6.2 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">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/polar_bar"
|
|
style="@style/TopBar"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/polar_timer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="4dp"
|
|
android:fontFamily="@font/digital_dismay"
|
|
android:text="@string/timer_zero"
|
|
android:textColor="@color/themeLight"
|
|
android:textSize="48sp"
|
|
app:layout_constraintBottom_toBottomOf="@+id/polar_bar"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="@id/polar_bar"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/stub_left"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="4dp"
|
|
android:fontFamily="@font/digital_dismay"
|
|
android:text="@string/timer_placeholder"
|
|
android:textColor="@color/themeLight"
|
|
android:textSize="48sp"
|
|
app:layout_constraintBottom_toBottomOf="@+id/polar_timer"
|
|
app:layout_constraintEnd_toStartOf="@+id/polar_timer"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/polar_timer" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/stub_right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="4dp"
|
|
android:fontFamily="@font/digital_dismay"
|
|
android:text="@string/timer_placeholder"
|
|
android:textColor="@color/themeLight"
|
|
android:textSize="48sp"
|
|
app:layout_constraintBottom_toBottomOf="@+id/polar_timer"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/polar_timer"
|
|
app:layout_constraintTop_toTopOf="@+id/polar_timer" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/frame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/polar_bar" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/azimuth"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="4dp"
|
|
android:text="@string/pat_azimuth"
|
|
android:textSize="15sp"
|
|
app:layout_constraintStart_toStartOf="@+id/frame"
|
|
app:layout_constraintTop_toTopOf="@+id/frame" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/elevation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="4dp"
|
|
android:text="@string/pat_elevation"
|
|
android:textSize="15sp"
|
|
app:layout_constraintEnd_toEndOf="@+id/frame"
|
|
app:layout_constraintTop_toTopOf="@+id/frame" />
|
|
|
|
<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:textSize="15sp"
|
|
app:layout_constraintBottom_toBottomOf="@+id/frame"
|
|
app:layout_constraintStart_toStartOf="@+id/frame" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/distance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="4dp"
|
|
android:text="@string/pat_distance"
|
|
android:textSize="15sp"
|
|
app:layout_constraintBottom_toBottomOf="@+id/frame"
|
|
app:layout_constraintEnd_toEndOf="@+id/frame" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:padding="2dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/frame" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/no_trans_msg"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:gravity="center"
|
|
android:text="@string/trans_no_data"
|
|
android:textSize="15sp"
|
|
android:visibility="invisible"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/frame" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|