Merge branch 'uiChanges'
BIN
OsmAnd/res/drawable-hdpi/compass.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 4.1 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_favorites.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_gpx_tracks.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_map_src.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_osm_bugs.png
Normal file
After Width: | Height: | Size: 8 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_overlay_map.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_poi.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_transport_stops.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_underlay_map.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
OsmAnd/res/drawable-hdpi/poi_transport_size_l.png
Normal file
After Width: | Height: | Size: 7 KiB |
BIN
OsmAnd/res/drawable-hdpi/poi_transport_size_m.png
Normal file
After Width: | Height: | Size: 6 KiB |
BIN
OsmAnd/res/drawable-hdpi/poi_transport_size_s.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 6.1 KiB |
BIN
OsmAnd/res/drawable-land/ic_altitude.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
OsmAnd/res/drawable-land/info_time_to_go.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
OsmAnd/res/drawable-large/compass.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 4.1 KiB |
BIN
OsmAnd/res/drawable/list_activities_favorites.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
OsmAnd/res/drawable/list_activities_gpx_tracks.png
Normal file
After Width: | Height: | Size: 5 KiB |
BIN
OsmAnd/res/drawable/list_activities_map_src.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
OsmAnd/res/drawable/list_activities_osm_bugs.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
OsmAnd/res/drawable/list_activities_overlay_map.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
OsmAnd/res/drawable/list_activities_poi.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
OsmAnd/res/drawable/list_activities_transport_stops.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
OsmAnd/res/drawable/list_activities_underlay_map.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
OsmAnd/res/drawable/poi_transport_size_l.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
OsmAnd/res/drawable/poi_transport_size_m.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
OsmAnd/res/drawable/poi_transport_size_s.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.2 KiB |
|
@ -48,7 +48,7 @@ public class FavouritesListActivity extends ListActivity implements SearchActivi
|
|||
super.onCreate(icicle);
|
||||
ListView lv = new ListView(this);
|
||||
lv.setId(android.R.id.list);
|
||||
lv.setCacheColorHint(R.color.activity_background);
|
||||
lv.setCacheColorHint(getResources().getColor(R.color.activity_background));
|
||||
lv.setDivider(getResources().getDrawable(R.drawable.tab_text_separator));
|
||||
setContentView(lv);
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ public class SearchHistoryActivity extends ListActivity implements SearchActivit
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
ListView lv = new ListView(this);
|
||||
lv.setCacheColorHint(R.color.activity_background);
|
||||
lv.setCacheColorHint(getResources().getColor(R.color.activity_background));
|
||||
lv.setDivider(getResources().getDrawable(R.drawable.tab_text_separator));
|
||||
lv.setId(android.R.id.list);
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ public class FavoritesLayer extends OsmandMapLayer implements ContextMenuLayer.I
|
|||
int x = view.getRotatedMapXForPoint(o.getLatitude(), o.getLongitude());
|
||||
int y = view.getRotatedMapYForPoint(o.getLatitude(), o.getLongitude());
|
||||
canvas.drawBitmap(favoriteIcon, x - favoriteIcon.getWidth() / 2,
|
||||
y - favoriteIcon.getHeight() , paint);
|
||||
y - favoriteIcon.getHeight() / 2, paint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|