OsmAnd/OsmAnd/res/layout/dash_osmo_fragment.xml

119 lines
3.6 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"
2015-03-24 01:29:15 +01:00
xmlns:osmand="http://schemas.android.com/apk/res-auto"
2015-03-24 01:18:38 +01:00
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 17:35:57 +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"
2015-03-24 01:18:38 +01:00
android:orientation="vertical" >
<LinearLayout
android:id="@+id/header_layout"
android:layout_width="fill_parent"
android:layout_height="@dimen/list_header_height"
android:orientation="horizontal">
2015-03-24 01:18:38 +01:00
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/fav_text"
style="@style/DashboardSubHeader"
2015-03-24 01:18:38 +01:00
android:text="@string/osmo"
osmand:typeface="@string/font_roboto_medium" />
<include layout="@layout/check_item_rel"/>
2015-03-24 01:18:38 +01:00
<net.osmand.plus.widgets.ButtonEx
android:id="@+id/manage"
style="@style/DashboardGeneralButton"
2015-05-25 21:11:29 +02:00
android:text="@string/shared_string_manage"
2015-03-24 01:18:38 +01:00
osmand:textAllCapsCompat="true"
osmand:typeface="@string/font_roboto_medium" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider" />
<LinearLayout android:id="@+id/card_content"
2015-03-24 01:29:15 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="@dimen/list_header_height"
2015-03-24 01:29:15 +01:00
android:orientation="horizontal">
<TextView
style="@style/DashboardSubHeader"
2015-03-24 01:29:15 +01:00
android:layout_weight="1"
android:text="@string/shared_string_my_location"/>
<ImageButton
android:id="@+id/share"
android:contentDescription="@string/shared_string_share"
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
2015-04-15 10:01:27 +02:00
android:gravity="center"
style="@style/DashboardGeneralButton" />
2015-03-24 01:29:15 +01:00
<include layout="@layout/check_item_rel"/>
</LinearLayout>
<LinearLayout
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/points_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/subHeaderMarginLeft"
android:src="@drawable/ic_small_point"/>
<TextView
android:id="@+id/points_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/distance_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_small_distance"/>
<TextView
android:id="@+id/distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/time_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_small_time"/>
<TextView
android:id="@+id/time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/showAllButtonMarginRight"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/items"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"/>
</LinearLayout>