OsmAnd/OsmAnd/res/layout/dash_search_fragment.xml

75 lines
2.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2015-03-19 01:52:33 +01:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-03-19 18:28:48 +01:00
xmlns:osmand="http://schemas.android.com/apk/res-auto"
2015-03-19 01:52:33 +01:00
android:id="@+id/search"
2014-11-27 21:59:44 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"
2015-03-19 01:52:33 +01:00
android:orientation="vertical" >
2014-11-27 21:59:44 +01:00
2015-01-19 23:30:23 +01:00
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="@dimen/list_header_height" >
2015-01-19 23:30:23 +01:00
<TextView
android:id="@+id/search_for"
style="@style/DashboardSubHeader"
2015-01-19 23:30:23 +01:00
android:layout_width="wrap_content"
android:text="@string/search_for" />
2015-03-19 01:52:33 +01:00
<net.osmand.plus.widgets.ButtonEx
2015-01-19 23:30:23 +01:00
android:id="@+id/recents"
2015-04-14 17:35:57 +02:00
android:layout_width="wrap_content"
style="@style/DashboardGeneralButton"
2015-03-19 01:52:33 +01:00
android:text="@string/shared_string_history"
osmand:textAllCapsCompat="true"
osmand:typeface="@string/font_roboto_medium" />
2014-11-29 13:21:48 +01:00
</LinearLayout>
2014-11-27 21:59:44 +01:00
<View
android:layout_width="match_parent"
android:layout_height="1dp"
2015-03-19 01:52:33 +01:00
android:background="?attr/dashboard_divider" />
2014-11-27 21:59:44 +01:00
<LinearLayout
android:layout_width="match_parent"
2014-12-17 16:13:43 +01:00
android:layout_height="@dimen/dashSearchBtnHeight"
2015-03-19 01:52:33 +01:00
android:orientation="horizontal" >
2014-11-27 21:59:44 +01:00
<net.osmand.plus.widgets.ButtonEx
2014-11-27 21:59:44 +01:00
android:id="@+id/poi"
style="@style/DashboardSearchButton"
2015-07-20 15:17:44 +02:00
android:text="@string/poi"
osmand:textAllCapsCompat="false"
osmand:typeface="@string/font_roboto_medium" />
2014-11-27 21:59:44 +01:00
<View
android:layout_width="1dp"
android:layout_height="match_parent"
2015-03-19 01:52:33 +01:00
android:background="?attr/dashboard_divider" />
2014-11-27 21:59:44 +01:00
<net.osmand.plus.widgets.ButtonEx
2014-11-27 21:59:44 +01:00
android:id="@+id/address"
style="@style/DashboardSearchButton"
2015-07-20 15:17:44 +02:00
android:text="@string/address"
osmand:textAllCapsCompat="false"
osmand:typeface="@string/font_roboto_medium" />
2014-11-27 21:59:44 +01:00
<View
android:layout_width="1dp"
android:layout_height="match_parent"
2015-03-19 01:52:33 +01:00
android:background="?attr/dashboard_divider" />
2014-11-27 21:59:44 +01:00
<net.osmand.plus.widgets.ButtonEx
2014-11-27 21:59:44 +01:00
android:id="@+id/coord"
style="@style/DashboardSearchButton"
2015-07-20 15:17:44 +02:00
android:text="@string/coordinates"
osmand:textAllCapsCompat="false"
osmand:typeface="@string/font_roboto_medium" />
2014-11-27 21:59:44 +01:00
</LinearLayout>
</LinearLayout>