Fix dark theme
This commit is contained in:
parent
1155144b1a
commit
869848b704
2 changed files with 4 additions and 3 deletions
|
@ -304,7 +304,7 @@
|
|||
android:paddingLeft="@dimen/measurement_tool_button_padding"
|
||||
android:paddingRight="@dimen/measurement_tool_button_padding"
|
||||
android:text="@string/shared_string_apply"
|
||||
android:textColor="?attr/color_dialog_buttons"
|
||||
android:textColor="@color/color_white"
|
||||
android:textAllCaps="false"
|
||||
android:paddingEnd="@dimen/measurement_tool_button_padding"
|
||||
android:paddingStart="@dimen/measurement_tool_button_padding" />
|
||||
|
|
|
@ -70,7 +70,8 @@ public class RouteBetweenPointsBottomSheetDialogFragment extends BottomSheetDial
|
|||
nightMode = app.getDaynightHelper().isNightModeForMapControls();
|
||||
FragmentActivity activity = requireActivity();
|
||||
portrait = AndroidUiHelper.isOrientationPortrait(activity);
|
||||
final View mainView = inflater.inflate(R.layout.fragment_route_between_points_bottom_sheet_dialog,
|
||||
final View mainView = UiUtilities.getInflater(getContext(), nightMode)
|
||||
.inflate(R.layout.fragment_route_between_points_bottom_sheet_dialog,
|
||||
container, false);
|
||||
AndroidUtils.setBackground(activity, mainView, nightMode,
|
||||
portrait ? R.drawable.bg_bottom_menu_light : R.drawable.bg_bottom_sheet_topsides_landscape_light,
|
||||
|
|
Loading…
Reference in a new issue