OsmAnd/OsmAnd/res/layout/search_address.xml

144 lines
5.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2013-07-13 23:04:04 +02:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2014-12-17 16:32:31 +01:00
xmlns:custom="http://schemas.android.com/apk/res-auto"
2015-02-02 18:01:14 +01:00
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
2015-03-06 19:37:54 +01:00
android:background="?attr/expandable_list_item_background"
2013-07-13 23:04:04 +02:00
android:layout_width="fill_parent"
android:layout_height="fill_parent">
2013-07-13 23:04:04 +02:00
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical">
2013-07-13 23:04:04 +02:00
<net.osmand.view.ExpandableLinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
custom:maxVisibleWidth="800dp">
2013-07-13 23:04:04 +02:00
<TableLayout
android:id="@+id/TableLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1">
2013-07-13 23:04:04 +02:00
<TableRow
android:id="@+id/TableRow"
android:layout_marginLeft="5dp">
2013-07-13 23:04:04 +02:00
<TextView
android:id="@+id/TextView"
android:text="@string/search_address_region" />
2013-07-13 23:04:04 +02:00
<Button
android:id="@+id/CountryButton"
android:layout_width="150dp"
android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/ChooseCountry" />
2013-07-13 23:04:04 +02:00
<ImageButton
android:id="@+id/ResetCountry"
android:layout_gravity="center_vertical"
android:layout_marginRight="5dp"
2015-03-20 00:51:06 +01:00
android:background="@drawable/ic_action_remove_dark"
2015-03-08 16:02:34 +01:00
android:contentDescription="@string/shared_string_clear" />
2013-07-13 23:04:04 +02:00
</TableRow>
<TableRow
android:layout_marginLeft="5dp">
2013-07-13 23:04:04 +02:00
<TextView
android:text="@string/search_address_city" />
2013-07-13 23:04:04 +02:00
<Button
android:id="@+id/CityButton"
android:layout_width="150dp"
android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/choose_city" />
2013-07-13 23:04:04 +02:00
<ImageButton
android:id="@+id/ResetCity"
android:layout_gravity="center_vertical"
android:layout_marginRight="5dp"
2015-03-20 00:51:06 +01:00
android:background="@drawable/ic_action_remove_dark"
2015-03-08 16:02:34 +01:00
android:contentDescription="@string/shared_string_clear" />
2013-07-13 23:04:04 +02:00
</TableRow>
<TableRow
android:layout_marginLeft="5dp">
2013-07-13 23:04:04 +02:00
<TextView
android:text="@string/search_address_street" />
2013-07-13 23:04:04 +02:00
<Button
android:id="@+id/StreetButton"
android:layout_width="150dp"
android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/choose_street" />
2013-07-13 23:04:04 +02:00
<ImageButton
android:id="@+id/ResetStreet"
android:layout_gravity="center_vertical"
android:layout_marginRight="5dp"
2015-03-20 00:51:06 +01:00
android:background="@drawable/ic_action_remove_dark"
2015-03-08 16:02:34 +01:00
android:contentDescription="@string/shared_string_clear" />
2013-07-13 23:04:04 +02:00
</TableRow>
<TableRow
android:layout_marginLeft="5dp">
2013-07-13 23:04:04 +02:00
<TextView
android:id="@+id/BuildingText"
android:text="@string/search_address_building" />
2013-07-13 23:04:04 +02:00
<Button
android:id="@+id/BuildingButton"
android:layout_width="150dp"
android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/choose_building" />
2013-07-13 23:04:04 +02:00
<ImageButton
android:id="@+id/ResetBuilding"
android:layout_gravity="center_vertical"
android:layout_marginRight="5dp"
2015-03-20 00:51:06 +01:00
android:background="@drawable/ic_action_remove_dark"
2015-03-08 16:02:34 +01:00
android:contentDescription="@string/shared_string_clear" />
2013-07-13 23:04:04 +02:00
</TableRow>
</TableLayout>
<RadioGroup
android:id="@+id/RadioGroup"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_span="3"
android:orientation="horizontal">
2013-07-13 23:04:04 +02:00
<RadioButton
android:id="@+id/RadioBuilding"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/search_address_building_option" />
2013-07-13 23:04:04 +02:00
<RadioButton
android:id="@+id/RadioIntersStreet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/search_address_street_option" />
2013-07-13 23:04:04 +02:00
</RadioGroup>
</net.osmand.view.ExpandableLinearLayout>
</LinearLayout>
2011-10-06 22:55:53 +02:00
</ScrollView>