Fix #4539
This commit is contained in:
parent
39086e9edb
commit
f7bb0e1d2c
1 changed files with 64 additions and 50 deletions
|
@ -53,62 +53,76 @@
|
||||||
android:src="@drawable/ic_action_test_light"/>
|
android:src="@drawable/ic_action_test_light"/>
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginBottom="@dimen/map_widget_text_bottom_margin"
|
android:layout_marginEnd="4dp"
|
||||||
android:layout_marginLeft="@dimen/map_widget_icon_margin"
|
android:layout_marginLeft="@dimen/map_widget_icon_margin"
|
||||||
android:layout_marginRight="@dimen/map_widget_icon_margin"
|
android:layout_marginRight="4dp"
|
||||||
android:layout_weight="1">
|
android:layout_marginStart="@dimen/map_widget_icon_margin">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/widget_text_shadow"
|
android:id="@+id/widget_text_shadow"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom"
|
android:layout_marginEnd="@dimen/map_widget_icon_margin"
|
||||||
|
android:layout_marginRight="@dimen/map_widget_icon_margin"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:minWidth="10dp"
|
android:minWidth="10dp"
|
||||||
android:textColor="@color/color_white"
|
android:textColor="@color/color_white"
|
||||||
android:textSize="@dimen/map_widget_text_size"
|
android:textSize="@dimen/map_widget_text_size"
|
||||||
tools:text="1048"/>
|
tools:text="1048"/>
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/widget_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="bottom"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:minWidth="10dp"
|
|
||||||
android:textColor="@color/color_black"
|
|
||||||
android:textSize="@dimen/map_widget_text_size"
|
|
||||||
tools:text="1048"/>
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
<FrameLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="bottom"
|
|
||||||
android:layout_marginBottom="@dimen/map_widget_text_small_bottom_margin"
|
|
||||||
android:layout_marginLeft="4dp"
|
|
||||||
android:layout_marginRight="4dp">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/widget_text_small_shadow"
|
android:id="@+id/widget_text_small_shadow"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignBaseline="@+id/widget_text_shadow"
|
||||||
|
android:layout_marginLeft="4dp"
|
||||||
|
android:layout_marginStart="4dp"
|
||||||
|
android:layout_toEndOf="@+id/widget_text_shadow"
|
||||||
|
android:layout_toRightOf="@+id/widget_text_shadow"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textColor="@color/color_white"
|
android:textColor="@color/color_white"
|
||||||
android:textSize="@dimen/map_widget_text_size_small"
|
android:textSize="@dimen/map_widget_text_size_small"
|
||||||
tools:text="km"/>
|
tools:text="km"/>
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="@dimen/map_widget_icon_margin"
|
||||||
|
android:layout_marginRight="@dimen/map_widget_icon_margin"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:minWidth="10dp"
|
||||||
|
android:textColor="@color/color_black"
|
||||||
|
android:textSize="@dimen/map_widget_text_size"
|
||||||
|
tools:text="1048"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/widget_text_small"
|
android:id="@+id/widget_text_small"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignBaseline="@+id/widget_text"
|
||||||
|
android:layout_marginLeft="4dp"
|
||||||
|
android:layout_marginStart="4dp"
|
||||||
|
android:layout_toEndOf="@+id/widget_text"
|
||||||
|
android:layout_toRightOf="@+id/widget_text"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textColor="@color/color_black"
|
android:textColor="@color/color_black"
|
||||||
android:textSize="@dimen/map_widget_text_size_small"
|
android:textSize="@dimen/map_widget_text_size_small"
|
||||||
tools:text="km"/>
|
tools:text="km"/>
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
Loading…
Reference in a new issue