Revert icons

This commit is contained in:
Victor Shcherb 2013-06-30 16:46:08 +02:00
parent ab283961a3
commit 0dc0b2aa66
14 changed files with 8 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 838 B

After

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 838 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 955 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 955 B

BIN
OsmAnd/res/drawable-hdpi/list_activities_show_on_map.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 910 B

View file

@ -95,7 +95,6 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
private ImageButton showFilter;
private PoiFilter filter;
private AmenityAdapter amenityAdapter;
private TextView searchArea;
private EditText searchFilter;
private View searchFilterLayout;
@ -127,7 +126,6 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
uiHandler = new Handler();
searchPOILevel = (Button) findViewById(R.id.SearchPOILevelButton);
searchArea = (TextView) findViewById(R.id.SearchAreaText);
searchFilter = (EditText) findViewById(R.id.SearchFilter);
searchFilterLayout = findViewById(R.id.SearchFilterLayout);
showOnMap = (ImageButton) findViewById(R.id.ShowOnMap);
@ -269,7 +267,6 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
if (filter != this.filter) {
this.filter = filter;
if (filter != null) {
getSupportActionBar().setSubtitle(filter.getName());
filter.clearPreviousZoom();
} else {
amenityAdapter.setNewModel(Collections.<Amenity> emptyList(), "");
@ -294,9 +291,8 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
showOnMap.setEnabled(filter != null);
}
showOnMap.setVisibility(View.VISIBLE);
updateSubtitle();
if (filter != null) {
searchArea.setText(filter.getSearchArea());
updateSearchPoiTextButton();
if (searchNearBy) {
app.getLocationProvider().addLocationListener(this);
@ -308,6 +304,12 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
app.getLocationProvider().addCompassListener(this);
app.getLocationProvider().registerOrUnregisterCompassListener(true);
}
private void updateSubtitle() {
if(filter != null) {
getSupportActionBar().setSubtitle(filter.getName() + " " + filter.getSearchArea());
}
}
private void showPoiCategoriesByNameFilter(String query, net.osmand.Location loc){
OsmandApplication app = (OsmandApplication) getApplication();
@ -605,7 +607,7 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
} else {
amenityAdapter.setNewModel(result, searchFilter.getText().toString());
}
searchArea.setText(filter.getSearchArea());
updateSubtitle();
}
@Override