From 49b6b92760436d53ff864804003c269e05972c55 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Wed, 7 Oct 2015 19:48:57 +0300 Subject: [PATCH] Fix --- .../osmand/plus/download/items/SearchDialogFragment.java | 6 +----- .../net/osmand/plus/download/items/WorldItemsFragment.java | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/download/items/SearchDialogFragment.java b/OsmAnd/src/net/osmand/plus/download/items/SearchDialogFragment.java index 9eb9554ed4..cc69b06939 100644 --- a/OsmAnd/src/net/osmand/plus/download/items/SearchDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/download/items/SearchDialogFragment.java @@ -5,13 +5,11 @@ import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import android.support.v7.widget.Toolbar; import android.view.LayoutInflater; -import android.view.Menu; -import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; -import android.widget.SearchView; import android.widget.RelativeLayout.LayoutParams; +import android.widget.SearchView; import net.osmand.plus.OsmandApplication; import net.osmand.plus.OsmandSettings; @@ -60,7 +58,6 @@ public class SearchDialogFragment extends DialogFragment { RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); params.setMargins(0, 0, 0, 0); - search.setQueryHint("Enter map name"); search.setLayoutParams(params); toolbar.addView(search); @@ -106,7 +103,6 @@ public class SearchDialogFragment extends DialogFragment { @Override public void onResume() { super.onResume(); - //search.setIconifiedByDefault(false); search.setIconified(false); } diff --git a/OsmAnd/src/net/osmand/plus/download/items/WorldItemsFragment.java b/OsmAnd/src/net/osmand/plus/download/items/WorldItemsFragment.java index 86135a161a..5ff4083cbf 100644 --- a/OsmAnd/src/net/osmand/plus/download/items/WorldItemsFragment.java +++ b/OsmAnd/src/net/osmand/plus/download/items/WorldItemsFragment.java @@ -118,7 +118,6 @@ public class WorldItemsFragment extends OsmandExpandableListFragment { listAdapter.add(getResources().getString(R.string.voices), voicePromptsItems); } } - //listAdapter.add("Voice promts", null); } }