From 6d773bfb369b89f46f6fd98add148fb2f1c3c306 Mon Sep 17 00:00:00 2001 From: Dima-1 Date: Mon, 23 Mar 2020 11:00:04 +0200 Subject: [PATCH] Fix dark theme --- .../res/layout/point_editor_fragment_new.xml | 10 +++---- OsmAnd/res/values/styles.xml | 10 +++++++ OsmAnd/src/net/osmand/plus/UiUtilities.java | 3 +-- .../editors/PointEditorFragmentNew.java | 27 +++++++++++-------- 4 files changed, 31 insertions(+), 19 deletions(-) diff --git a/OsmAnd/res/layout/point_editor_fragment_new.xml b/OsmAnd/res/layout/point_editor_fragment_new.xml index e7b08d4d54..f7871b1634 100644 --- a/OsmAnd/res/layout/point_editor_fragment_new.xml +++ b/OsmAnd/res/layout/point_editor_fragment_new.xml @@ -13,7 +13,7 @@ android:id="@+id/background_layout" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?attr/card_and_list_background_basic" + android:background="?attr/activity_background_color" android:orientation="vertical"> @@ -484,7 +482,7 @@ android:layout_height="wrap_content" android:maxLines="1" android:text="@string/shared_string_delete" - android:textAppearance="@style/TextAppearance.ListItemTitle" + android:textAppearance="@style/TextAppearance.ListItemCategoryTitle" tools:text="@string/shared_string_delete" /> diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index 4e221e33f8..340a6368ca 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -100,6 +100,16 @@ @color/active_color_primary_dark + + + +