2015-03-11 20:19:24 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-10-22 00:15:13 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-03-14 23:30:53 +01:00
|
|
|
android:id="@+id/widget_bg"
|
2015-03-19 18:28:48 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/btn_left_round"
|
2015-04-22 00:47:42 +02:00
|
|
|
android:minWidth="@dimen/map_minwidth_widget"
|
2015-03-19 18:28:48 +01:00
|
|
|
android:orientation="vertical" >
|
2015-03-11 20:19:24 +01:00
|
|
|
|
2015-03-19 18:28:48 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" >
|
|
|
|
|
2015-04-15 09:21:22 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/widget_top_icon_text"
|
2015-03-19 18:28:48 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_marginTop="2dp"
|
2015-03-19 18:28:48 +01:00
|
|
|
android:textColor="@color/color_black"
|
|
|
|
android:textSize="@dimen/map_widget_text_size"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
2015-03-19 18:28:48 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/widget_top_icon"
|
|
|
|
android:layout_width="@dimen/map_widget_image"
|
|
|
|
android:layout_height="@dimen/map_widget_image"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_marginTop="2dp"
|
2015-03-19 18:28:48 +01:00
|
|
|
android:layout_gravity="center"
|
2015-03-29 01:32:46 +01:00
|
|
|
android:src="@drawable/ic_action_test_light"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:visibility="gone" />
|
2015-03-19 18:28:48 +01:00
|
|
|
</FrameLayout>
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/map_widget_height"
|
|
|
|
android:orientation="horizontal" >
|
|
|
|
|
|
|
|
<ImageView
|
2015-03-19 18:28:48 +01:00
|
|
|
android:id="@+id/widget_icon"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="@dimen/map_widget_icon"
|
|
|
|
android:layout_height="@dimen/map_widget_icon"
|
|
|
|
android:layout_gravity="left|center_vertical"
|
2015-04-14 18:03:30 +02:00
|
|
|
android:layout_marginLeft="@dimen/map_widget_icon_margin"
|
2015-03-19 18:28:48 +01:00
|
|
|
android:gravity="center"
|
2015-03-29 01:32:46 +01:00
|
|
|
android:src="@drawable/ic_action_test_light" />
|
2015-03-11 20:19:24 +01:00
|
|
|
|
2015-04-15 09:21:22 +02:00
|
|
|
<FrameLayout
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-14 02:01:43 +01:00
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginBottom="@dimen/map_widget_text_bottom_margin"
|
2015-04-14 18:03:30 +02:00
|
|
|
android:layout_marginLeft="5dp"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_weight="1" >
|
2015-03-19 18:28:48 +01:00
|
|
|
|
2015-04-15 09:21:22 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/widget_text_shadow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:maxLines="1"
|
2015-10-22 00:38:05 +02:00
|
|
|
android:singleLine="true"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:minWidth="10dp"
|
2015-10-22 00:15:13 +02:00
|
|
|
tools:text="1048"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:textColor="@color/color_white"
|
|
|
|
android:textSize="@dimen/map_widget_text_size" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/widget_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:maxLines="1"
|
2015-10-22 00:38:05 +02:00
|
|
|
android:singleLine="true"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:minWidth="10dp"
|
2015-10-22 00:15:13 +02:00
|
|
|
tools:text="1048"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:textColor="@color/color_black"
|
|
|
|
android:textSize="@dimen/map_widget_text_size" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
2015-03-14 02:01:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_marginBottom="@dimen/map_widget_text_small_bottom_margin"
|
2015-03-19 18:28:48 +01:00
|
|
|
android:layout_marginLeft="4dp"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_marginRight="4dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/widget_text_small_shadow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
2015-10-22 00:38:05 +02:00
|
|
|
android:singleLine="true"
|
2015-10-22 00:15:13 +02:00
|
|
|
tools:text="km"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:textColor="@color/color_white"
|
|
|
|
android:textSize="@dimen/map_widget_text_size_small" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/widget_text_small"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
2015-10-22 00:38:05 +02:00
|
|
|
android:singleLine="true"
|
2015-10-22 00:15:13 +02:00
|
|
|
tools:text="km"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:textColor="@color/color_black"
|
|
|
|
android:textSize="@dimen/map_widget_text_size_small" />
|
|
|
|
</FrameLayout>
|
2015-03-11 20:19:24 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|