OsmAnd/OsmAnd/res/layout/dash_osmo_fragment.xml

77 lines
2.8 KiB
XML
Raw Normal View History

2015-01-21 16:51:12 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
2015-01-28 17:14:06 +01:00
android:background="?attr/card_bg"
2015-01-21 16:51:12 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:id="@+id/header_layout"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="@dimen/dashHeaderHeight">
<TextView android:id="@+id/osmo_text"
android:text="@string/map_widget_av_notes"
2015-01-30 17:25:42 +01:00
style="?attr/dashboardSubHeaderStyle"/>
2015-01-21 16:51:12 +01:00
<Button android:id="@+id/manage"
android:text="@string/show_all"
2015-01-30 17:25:42 +01:00
style="?attr/dashboardGeneralButtonStyle"/>
2015-01-21 16:51:12 +01:00
</LinearLayout>
<LinearLayout android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="@dimen/dashHeaderHeight">
<TextView android:text="@string/my_location"
2015-01-30 17:25:42 +01:00
style="?attr/dashboardSubHeaderStyle"
2015-01-21 16:51:12 +01:00
android:layout_weight="1"/>
<Button android:id="@+id/share"
android:text="@string/show_all"
2015-01-30 17:25:42 +01:00
style="?attr/dashboardGeneralButtonStyle"/>
2015-01-21 16:51:12 +01:00
<include layout="@layout/check_item_rel" />
</LinearLayout>
2015-01-30 17:25:42 +01:00
<View
android:background="?attr/dashboard_divider"
android:layout_width="match_parent"
android:layout_height="1dp"/>
2015-01-21 16:51:12 +01:00
<LinearLayout android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView android:id="@+id/points_icon"
android:layout_marginLeft="@dimen/subHeaderMarginLeft"
android:src="@drawable/ic_small_point"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView android:id="@+id/points_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView android:id="@+id/distance_icon"
android:src="@drawable/ic_small_distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView android:id="@+id/distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView android:id="@+id/time_icon"
android:src="@drawable/ic_small_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView android:id="@+id/time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/showAllButtonMarginRight"/>
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="vertical"
android:id="@+id/items"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>