Fix sizing

This commit is contained in:
PavelRatushny 2017-12-11 18:47:22 +02:00
parent b3aa0d262a
commit bd3047afa1
4 changed files with 6 additions and 2 deletions

View file

@ -77,7 +77,7 @@
android:paddingLeft="@dimen/context_menu_padding_margin_default"
android:paddingRight="@dimen/context_menu_padding_margin_default"
android:visibility="gone"
android:horizontalSpacing="8dp"
android:horizontalSpacing="@dimen/context_menu_padding_margin_medium"
android:id="@+id/transport_stop_routes_grid"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View file

@ -1,11 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="@dimen/context_menu_transport_stop_item_height">
<TextView
app:autoSizeTextType="uniform"
android:textColor="@color/color_white"
tools:text="3"
android:gravity="center"

View file

@ -71,6 +71,7 @@
<dimen name="context_menu_actions_buttons_height">84dp</dimen>
<dimen name="context_menu_subtitle_margin">5dp</dimen>
<dimen name="context_menu_direction_margin">27dp</dimen>
<dimen name="context_menu_transport_stop_item_height">24dp</dimen>
<dimen name="fab_size_with_shadow">90dp</dimen>
<dimen name="fab_margin_right">18dp</dimen>

View file

@ -142,6 +142,7 @@
<dimen name="context_menu_actions_buttons_height">56dp</dimen>
<dimen name="context_menu_subtitle_margin">3dp</dimen>
<dimen name="context_menu_direction_margin">18dp</dimen>
<dimen name="context_menu_transport_stop_item_height">16dp</dimen>
<dimen name="fab_size_with_shadow">62dp</dimen>
<dimen name="fab_margin_right">12dp</dimen>