OsmAnd/OsmAnd/res/layout/dash_osmo_fragment.xml

110 lines
3.9 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:18:38 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/card_bg"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/header_layout"
android:layout_width="fill_parent"
android:layout_height="@dimen/dashHeaderHeight"
android:orientation="horizontal" >
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/fav_text"
style="?attr/dashboardSubHeaderStyle"
android:text="@string/osmo"
osmand:typeface="@string/font_roboto_medium" />
<net.osmand.plus.widgets.ButtonEx
android:id="@+id/manage"
style="?attr/dashboardGeneralButtonStyle"
android:text="@string/shared_string_show_all"
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:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="@dimen/dashHeaderHeight"
android:orientation="horizontal" >
<TextView
style="?attr/dashboardSubHeaderStyle"
android:layout_weight="1"
android:text="@string/my_location" />
<Button
android:id="@+id/share"
style="?attr/dashboardGeneralButtonStyle"
android:text="@string/show_all" />
<include layout="@layout/check_item_rel" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider" />
<LinearLayout
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> <!-- From: file:/Users/victorshcherb/osmand/repos/android/OsmAnd/res/layout/dash_osmo_fragment.xml -->