From b074344872f38ecfed02998215d80381e16475c9 Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Tue, 1 Sep 2015 19:04:44 +0300 Subject: [PATCH] Search screen dark theme fix #1620 --- OsmAnd/res/values/styles.xml | 2 +- .../osmand/plus/audionotes/NotesFragment.java | 63 +++++++++---------- 2 files changed, 32 insertions(+), 33 deletions(-) diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index 7eca519580..2de329e5a1 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -161,7 +161,7 @@ @color/color_white @color/color_white @color/spinner_list_background_dark - @color/color_white + @color/bg_color_dark @color/actionbar_dark_color @style/Widget.Styled.ActionBarDark diff --git a/OsmAnd/src/net/osmand/plus/audionotes/NotesFragment.java b/OsmAnd/src/net/osmand/plus/audionotes/NotesFragment.java index 6ab68ade7a..c2d9506e62 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/NotesFragment.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/NotesFragment.java @@ -1,10 +1,30 @@ package net.osmand.plus.audionotes; -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; +import android.content.Context; +import android.content.DialogInterface; +import android.content.Intent; +import android.graphics.drawable.Drawable; +import android.net.Uri; +import android.os.Bundle; +import android.support.annotation.Nullable; +import android.support.v4.content.FileProvider; +import android.support.v4.view.MenuItemCompat; +import android.support.v7.app.AlertDialog; +import android.support.v7.view.ActionMode; +import android.support.v7.widget.PopupMenu; +import android.view.LayoutInflater; +import android.view.Menu; +import android.view.MenuInflater; +import android.view.MenuItem; +import android.view.View; +import android.view.ViewGroup; +import android.view.inputmethod.InputMethodManager; +import android.widget.ArrayAdapter; +import android.widget.CheckBox; +import android.widget.EditText; +import android.widget.ImageButton; +import android.widget.TextView; +import android.widget.Toast; import net.osmand.data.PointDescription; import net.osmand.plus.GPXUtilities; @@ -23,33 +43,12 @@ import net.osmand.plus.dialogs.DirectionsDialogs; import net.osmand.plus.helpers.AndroidUiHelper; import net.osmand.plus.myplaces.FavoritesActivity; import net.osmand.util.Algorithms; -import android.app.AlertDialog; -import android.content.Context; -import android.content.DialogInterface; -import android.content.Intent; -import android.graphics.PorterDuff.Mode; -import android.graphics.drawable.Drawable; -import android.net.Uri; -import android.os.Bundle; -import android.support.annotation.Nullable; -import android.support.v4.content.FileProvider; -import android.support.v4.view.MenuItemCompat; -import android.support.v7.view.ActionMode; -import android.support.v7.widget.PopupMenu; -import android.view.LayoutInflater; -import android.view.Menu; -import android.view.MenuInflater; -import android.view.MenuItem; -import android.view.View; -import android.view.ViewGroup; -import android.view.inputmethod.InputMethodManager; -import android.widget.ArrayAdapter; -import android.widget.CheckBox; -import android.widget.EditText; -import android.widget.ImageButton; -import android.widget.ImageView; -import android.widget.TextView; -import android.widget.Toast; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; /** * Created by Denis on 18.02.2015.