Skip to content

Commit

Permalink
Changed bikeshare small icon size to 15dp instead of 22dp
Browse files Browse the repository at this point in the history
  • Loading branch information
carvalhorr committed Aug 18, 2017
1 parent 91bdc0c commit 155e9cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public void removeMarkerClicked(LatLng latLng) {
}

private Bitmap createBitmapFromShape() {
int px = Application.get().getResources().getDimensionPixelSize(R.dimen.map_stop_shadow_size_6);
int px = Application.get().getResources().getDimensionPixelSize(R.dimen.bikeshare_small_marker_size);

Bitmap bitmap = Bitmap.createBitmap(px, px, Bitmap.Config.ARGB_8888);

Expand Down
3 changes: 3 additions & 0 deletions onebusaway-android/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,7 @@
<dimen name="trip_results_tab_text_size">14sp</dimen>
<dimen name="trip_results_icon_size">24dp</dimen>

<!-- Bikeshare markers -->
<dimen name="bikeshare_small_marker_size">15dp</dimen>

</resources>

0 comments on commit 155e9cb

Please sign in to comment.