mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-04 11:57:21 +00:00
Final minor fixes and changes to strings and layouts, libs and version update
This commit is contained in:
1 parent
83d4eeaeb5
commit
94e4b5fb31
7 files changed
+27
-27
No files matched your search
@@ -193,13 +193,12 @@ class MapViewFragment : Fragment() {
|
||||
val lat = gsp.latitude.toFloat() * -1
|
||||
val cx = lon * degLon
|
||||
val cy = lat * degLat
|
||||
val gspName = context.getString(R.string.map_gsp)
|
||||
txtPaint.getTextBounds(gspName, 0, gspName.length, rect)
|
||||
canvas.drawCircle(cx, cy, scale * 2, txtPaint)
|
||||
canvas.drawText(
|
||||
context.getString(R.string.map_gsp),
|
||||
cx - txtPaint.textSize,
|
||||
cy - txtPaint.textSize,
|
||||
txtPaint
|
||||
)
|
||||
canvas.drawText(gspName, cx - rect.width() / 2, cy - txtPaint.textSize, outlinePaint)
|
||||
canvas.drawText(gspName, cx - rect.width() / 2, cy - txtPaint.textSize, txtPaint)
|
||||
|
||||
}
|
||||
|
||||
private fun setTextViewsToSelectedSatPos(position: SatPos) {
|
||||
|
||||
Reference in new issue
Block a user