OsmAnd/OsmAnd/res/layout/dash_parking_fragment.xml

91 lines
2.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2015-05-03 23:42:50 +02:00
android:background="?attr/bg_card"
2015-04-14 16:33:17 +02:00
android:layout_marginTop="@dimen/dash_margin"
android:layout_marginBottom="@dimen/dash_margin"
android:layout_marginLeft="@dimen/dash_margin_h"
android:layout_marginRight="@dimen/dash_margin_h"
android:orientation="vertical">
<LinearLayout
2015-03-11 17:09:05 +01:00
android:id="@+id/parking_header"
android:layout_width="match_parent"
android:layout_height="@dimen/dash_parking_height"
android:background="?attr/dash_parking_bg"
android:orientation="horizontal">
<ImageView
android:id="@+id/direction_icon"
android:layout_width="@dimen/dashboard_parking_icon_size"
android:layout_height="@dimen/dashboard_parking_icon_size"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dashboard_parking_left_margin"
android:layout_marginRight="@dimen/dashFavIconMargin"
2015-03-31 00:32:25 +02:00
android:src="@drawable/ic_action_start_navigation"
2015-04-01 15:38:27 +02:00
android:scaleType="center"
2015-03-31 00:32:25 +02:00
android:background="@drawable/btn_inset_circle_no_shadow"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/distance"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/color_white"
android:textSize="@dimen/default_list_text_size"
tools:text="@string/app_version"/>
<TextView
android:id="@+id/time_left"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/color_white"
android:textSize="@dimen/default_desc_text_size"
tools:text="@string/app_mode_aircraft"/>
<TextView
android:id="@+id/left_lbl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/dashFavIconMargin"
tools:text="@string/app_mode_aircraft"/>
</LinearLayout>
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/color_white"
android:textSize="@dimen/default_desc_text_size"
tools:text="@string/parking_place_limited"/>
</LinearLayout>
</LinearLayout>
<Button
android:id="@+id/remove_tag"
2015-04-15 10:01:27 +02:00
android:gravity="center"
style="@style/DashboardGeneralButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="0dp"
android:text="@string/remove_the_tag"/>
</LinearLayout>