OsmAnd/OsmAnd/res/layout/search_main.xml

56 lines
2.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical">
2013-04-14 17:09:09 +02:00
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:background="@color/titlebar_background">
2013-04-14 17:09:09 +02:00
<ImageButton
android:id="@+id/search_back_button"
android:contentDescription="@string/close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
2013-04-14 17:09:09 +02:00
android:layout_marginTop="4dp"
android:src="@drawable/arrow_back"
android:text="" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
2013-04-13 21:29:07 +02:00
android:layout_marginLeft = "3dp" android:text="@string/select_search_position" android:layout_gravity="center_vertical|left">
</TextView>
<Spinner
android:id="@+id/SpinnerLocation"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
2012-07-23 00:20:31 +02:00
android:layout_marginTop="4dp"
/>
</LinearLayout>
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
2012-06-08 14:51:36 +02:00
android:layout_height="wrap_content"
android:layout_marginBottom="0dp"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/ic_background_topofsearchactivities">
<TextView
android:id="@+id/textViewADesc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/ic_background_tabinfotext"
android:text="@string/poi_search_desc"
android:textAppearance="?android:attr/textAppearanceSmall"/>
</LinearLayout>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
2012-06-08 14:51:36 +02:00
android:layout_height="fill_parent"/>
</LinearLayout>
</TabHost>