OsmAnd/OsmAnd/res/layout/search_address.xml

55 lines
3.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2011-10-06 22:55:53 +02:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2012-07-23 00:20:31 +02:00
xmlns:custom="http://schemas.android.com/apk/res/net.osmand.plus"
2011-10-06 22:55:53 +02:00
android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="vertical" android:gravity="center_horizontal">
<net.osmand.view.ExpandableLinearLayout custom:maxVisibleWidth="800dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" >
<TableLayout android:id="@+id/TableLayout" android:layout_width="fill_parent" android:stretchColumns="1" android:layout_height="wrap_content" >
<TableRow android:id="@+id/TableRow" android:layout_marginLeft = "5dp">
<TextView android:id="@+id/TextView" android:text="@string/search_address_region">
</TextView>
<Button android:id="@+id/CountryButton" android:text="@string/ChooseCountry" />
2013-07-01 00:27:02 +02:00
<ImageButton android:id="@+id/ResetCountry" android:layout_marginRight = "5dp" android:layout_gravity="center_vertical"
android:background="?attr/reset_image" android:contentDescription="@string/default_buttons_reset">
</ImageButton>
</TableRow>
<TableRow android:id="@+id/TableRow" android:layout_marginLeft = "5dp" >
<TextView android:id="@+id/TextView" android:text="@string/search_address_city">
</TextView>
<Button android:id="@+id/CityButton" android:text="@string/choose_city" />
2013-07-01 00:27:02 +02:00
<ImageButton android:id="@+id/ResetCity" android:layout_marginRight = "5dp" android:layout_gravity="center_vertical"
android:background="?attr/reset_image" android:contentDescription="@string/default_buttons_reset">
</ImageButton>
</TableRow>
<TableRow android:id="@+id/TableRow" android:layout_marginLeft = "5dp">
<TextView android:id="@+id/TextView" android:text="@string/search_address_street">
</TextView>
<Button android:id="@+id/StreetButton" android:text="@string/choose_street" />
2013-07-01 00:27:02 +02:00
<ImageButton android:id="@+id/ResetStreet" android:layout_marginRight = "5dp" android:layout_gravity="center_vertical"
android:background="?attr/reset_image" android:contentDescription="@string/default_buttons_reset">
</ImageButton>
</TableRow>
<TableRow android:id="@+id/TableRow" android:layout_marginLeft = "5dp">
<TextView android:id="@+id/BuildingText" android:text="@string/search_address_building">
</TextView>
<Button android:id="@+id/BuildingButton" android:text="@string/choose_building" />
2013-07-01 00:27:02 +02:00
<ImageButton android:id="@+id/ResetBuilding" android:layout_marginRight = "5dp" android:layout_gravity="center_vertical"
android:background="?attr/reset_image" android:contentDescription="@string/default_buttons_reset">
</ImageButton>
</TableRow>
2012-07-23 00:20:31 +02:00
</TableLayout>
<RadioGroup android:orientation="horizontal" android:layout_span="3" android:id="@+id/RadioGroup" android:layout_marginLeft="5dp" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RadioButton android:id="@+id/RadioBuilding" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/search_address_building_option"></RadioButton>
<RadioButton android:id="@+id/RadioIntersStreet" android:layout_width="wrap_content" android:layout_marginLeft = "5dp" android:layout_height="wrap_content" android:text="@string/search_address_street_option"></RadioButton>
</RadioGroup>
2011-10-06 22:55:53 +02:00
</net.osmand.view.ExpandableLinearLayout >
2011-10-06 22:55:53 +02:00
</LinearLayout>
</ScrollView>