From ffc7bfe4b5ee2b1281833784c809ee3a78790dcb Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Thu, 13 Jan 2022 03:12:32 -0600 Subject: Set screen label typeface to bold --- .../src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'androidApp/src/main/java') diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt index ef1e27f..002b981 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt @@ -1,6 +1,7 @@ package mx.trackermap.TrackerMap.android.map import android.graphics.Bitmap +import android.graphics.Typeface import android.os.Bundle import android.util.Log import android.view.LayoutInflater @@ -139,6 +140,7 @@ class MapFragment : GlobeMapFragment() { vectorInfo.setLineWidth(20.0f) val labelInfo = LabelInfo() + labelInfo.typeface = Typeface.DEFAULT_BOLD labelInfo.textColor = colorLabel labelInfo.outlineColor = colorLabelOutline labelInfo.outlineSize = 3.0f @@ -240,6 +242,7 @@ class MapFragment : GlobeMapFragment() { vectorInfo.setLineWidth(10.0f) val labelInfo = LabelInfo() + labelInfo.typeface = Typeface.DEFAULT_BOLD labelInfo.textColor = colorLabel labelInfo.outlineColor = colorLabelOutline labelInfo.outlineSize = 3.0f -- cgit v1.2.3