Fix toolbar text color in landscape
This commit is contained in:
parent
d867d7c669
commit
84b552d888
2 changed files with 4 additions and 2 deletions
|
@ -46,9 +46,9 @@
|
|||
android:gravity="center_vertical"
|
||||
android:maxLines="1"
|
||||
android:text="@string/coordinates"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/dialog_header_text_size"
|
||||
osmand:typeface="@string/font_roboto_medium"/>
|
||||
osmand:typeface="@string/font_roboto_medium"
|
||||
tools:textColor="@color/color_white"/>
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:id="@+id/options_button"
|
||||
|
|
|
@ -167,6 +167,8 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
|
|||
.setTextColor(getResolvedColor(lightTheme ? R.color.color_black : R.color.color_white));
|
||||
setBackgroundColor(R.id.app_bar, lightTheme ? R.color.route_info_bg_light : R.color.route_info_bg_dark);
|
||||
} else {
|
||||
((TextView) mainView.findViewById(R.id.toolbar_text))
|
||||
.setTextColor(getResolvedColor(lightTheme ? R.color.color_white : R.color.ctx_menu_title_color_dark));
|
||||
setBackgroundColor(R.id.app_bar, lightTheme ? R.color.actionbar_light_color : R.color.route_info_bottom_view_bg_dark);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue