Added textViews to the WorldMap to display current satellite position and range

This commit is contained in:
Arty Bishop committed 2020-01-18 12:28:24 +00:00
1 parent 6dff3d5510
commit 96939794b5
7 files changed
+79 -10

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
<color name="themeLight">#C0C0C0</color>
<color name="themeDark">#191919</color>
<color name="backgroundDark">#080808</color>
<color name="backgroundMapText">#CC000000</color>
<color name="satTrack">#D50000</color>
<color name="satFootprint">#FFE082</color>
</resources>
+6 -4
View File
@@ -99,10 +99,12 @@
<string name="pattern_pass_maxEl">MaxEl: %.1f°</string>
<string name="pattern_pass_azimuth">Az: %2d° -> %2d°</string>
<string name="pattern_polar_azimuth">Azimuth: %.1f°</string>
<string name="pattern_polar_elev">Elevation: %.1f°</string>
<string name="pattern_polar_range">Range: %.0f km</string>
<string name="pattern_polar_alt">Altitude: %.0f km</string>
<string name="pattern_value_az">Az: %.1f°</string>
<string name="pattern_value_el">El: %.1f°</string>
<string name="pattern_value_lat">Lat: %.1f°</string>
<string name="pattern_value_lon">Lon: %.1f°</string>
<string name="pattern_value_rng">Rng: %.0f km</string>
<string name="pattern_value_alt">Alt: %.0f km</string>
<string name="pattern_trans_mode">Mode: %s</string>
<string name="pattern_trans_invert">Inverted: %s</string>
+12
View File
@@ -93,4 +93,16 @@
<item name="android:textSize">15sp</item>
</style>
<style name="MapText">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textColor">@color/themeAccent</item>
<item name="android:background">@drawable/bg_round_borders</item>
<item name="android:textSize">15sp</item>
<item name="android:paddingStart">6dp</item>
<item name="android:paddingEnd">6dp</item>
<item name="android:paddingTop">2dp</item>
<item name="android:paddingBottom">2dp</item>
</style>
</resources>