mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-03 11:37:24 +00:00
Added satellite visibility and phase to MapFragment.kt #62
This commit is contained in:
1 parent
7fdc939450
commit
488fe352cd
6 files changed
+45
-6
No files matched your search
@@ -89,16 +89,36 @@
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_data_lat"
|
||||
android:id="@+id/map_data_visibility"
|
||||
style="@style/WorldMapText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="@string/map_latitude"
|
||||
android:text="@string/map_visibility"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_data_phase"
|
||||
style="@style/WorldMapText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@string/map_phase"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/map_data_visibility"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_data_lat"
|
||||
style="@style/WorldMapText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="@string/map_latitude"
|
||||
app:layout_constraintStart_toStartOf="@+id/map_data_visibility"
|
||||
app:layout_constraintTop_toBottomOf="@+id/map_data_visibility" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_data_lon"
|
||||
style="@style/WorldMapText"
|
||||
@@ -126,10 +146,9 @@
|
||||
style="@style/WorldMapText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@string/map_altitude"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/map_data_lat"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
app:layout_constraintEnd_toEndOf="@+id/map_data_phase" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_data_dst"
|
||||
|
||||
@@ -104,6 +104,10 @@
|
||||
<string name="map_latitude">Широта: %.1f°</string>
|
||||
<string name="map_longitude">Долгота: %.1f°</string>
|
||||
<string name="map_qth">QTH Локатор: %s</string>
|
||||
<string name="map_visible">Видимый</string>
|
||||
<string name="map_eclipsed">В тени</string>
|
||||
<string name="map_visibility">Видимость: %s</string>
|
||||
<string name="map_phase">Фаза: %.1f°</string>
|
||||
<string name="map_altitude">Высота: %.0fкм</string>
|
||||
<string name="map_distance">Дистанция: %.0fкм</string>
|
||||
<string name="map_velocity">Скорость: %.2fкм/с</string>
|
||||
|
||||
@@ -105,6 +105,10 @@
|
||||
<string name="map_latitude">Latitude: %.1f°</string>
|
||||
<string name="map_longitude">Longitude: %.1f°</string>
|
||||
<string name="map_qth">QTH Locator: %s</string>
|
||||
<string name="map_visible">Visible</string>
|
||||
<string name="map_eclipsed">Eclipsed</string>
|
||||
<string name="map_visibility">Visibility: %s</string>
|
||||
<string name="map_phase">Phase: %.1f°</string>
|
||||
<string name="map_altitude">Altitude: %.0f km</string>
|
||||
<string name="map_distance">Distance: %.0f km</string>
|
||||
<string name="map_velocity">Velocity: %.2f km/s</string>
|
||||
|
||||
Reference in new issue
Block a user