Fix transport layout

This commit is contained in:
PavelRatushny 2017-12-15 11:14:49 +02:00
parent e22aa66e9b
commit 7a4689f91b
3 changed files with 6 additions and 2 deletions

View file

@ -44,8 +44,10 @@
<ImageView <ImageView
android:id="@+id/route_type_icon" android:id="@+id/route_type_icon"
android:layout_width="wrap_content" android:layout_marginRight="@dimen/context_menu_transport_grid_spacing"
android:layout_height="wrap_content" android:layout_marginEnd="@dimen/context_menu_transport_grid_spacing"
android:layout_width="@dimen/context_menu_transport_icon_size"
android:layout_height="@dimen/context_menu_transport_icon_size"
tools:src="@drawable/ic_action_polygom_dark"/> tools:src="@drawable/ic_action_polygom_dark"/>
<TextView <TextView

View file

@ -78,6 +78,7 @@
<dimen name="context_menu_transport_grid_spacing">6dp</dimen> <dimen name="context_menu_transport_grid_spacing">6dp</dimen>
<dimen name="context_menu_transport_grid_item_width">48dp</dimen> <dimen name="context_menu_transport_grid_item_width">48dp</dimen>
<dimen name="context_menu_transport_grid_item_height">27dp</dimen> <dimen name="context_menu_transport_grid_item_height">27dp</dimen>
<dimen name="context_menu_transport_icon_size">24dp</dimen>
<dimen name="fab_size_with_shadow">90dp</dimen> <dimen name="fab_size_with_shadow">90dp</dimen>
<dimen name="fab_margin_right">18dp</dimen> <dimen name="fab_margin_right">18dp</dimen>

View file

@ -149,6 +149,7 @@
<dimen name="context_menu_transport_grid_spacing">4dp</dimen> <dimen name="context_menu_transport_grid_spacing">4dp</dimen>
<dimen name="context_menu_transport_grid_item_width">32dp</dimen> <dimen name="context_menu_transport_grid_item_width">32dp</dimen>
<dimen name="context_menu_transport_grid_item_height">18dp</dimen> <dimen name="context_menu_transport_grid_item_height">18dp</dimen>
<dimen name="context_menu_transport_icon_size">16dp</dimen>
<dimen name="fab_size_with_shadow">62dp</dimen> <dimen name="fab_size_with_shadow">62dp</dimen>
<dimen name="fab_margin_right">12dp</dimen> <dimen name="fab_margin_right">12dp</dimen>