mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 01:58:47 +00:00
Fix map bubble text color in dark mode.
This commit is contained in:
parent
97f2aa3809
commit
37a398ecb8
2 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="196dp"
|
||||
android:textColor="@color/fg_significant"
|
||||
android:textColor="@color/fg_significant_on_light"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<de.schildbach.oeffi.stations.LineView
|
||||
|
|
|
@ -354,6 +354,7 @@ public class OeffiMapView extends MapView {
|
|||
bubble.setText(selectedStation.location.name);
|
||||
bubble.setTypeface(Typeface.DEFAULT_BOLD);
|
||||
bubble.setTextSize(TypedValue.COMPLEX_UNIT_PX, stationFontSize);
|
||||
bubble.setTextColor(res.getColor(R.color.fg_significant_on_light));
|
||||
bubble.setIncludeFontPadding(false);
|
||||
bubble.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED),
|
||||
MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue