2010-06-16 17:05:06 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-08-18 01:01:57 +02:00
|
|
|
<ScrollView
|
2010-06-16 17:05:06 +02:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2010-08-18 01:01:57 +02:00
|
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout android:layout_width="fill_parent"
|
2012-08-09 11:03:35 +02:00
|
|
|
android:layout_height="wrap_content" android:orientation="vertical">
|
2011-05-08 23:21:18 +02:00
|
|
|
<TextView android:text="@string/create_poi_link_to_osm_doc" android:id="@+id/LinkToOsmDoc" android:layout_marginLeft="5dp" android:layout_width="fill_parent" android:layout_height="wrap_content"/>
|
2010-06-27 19:15:29 +02:00
|
|
|
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:stretchColumns="1">
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-16 17:05:06 +02:00
|
|
|
<TableRow>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-27 19:15:29 +02:00
|
|
|
<TextView android:text="@string/poi_dialog_name" android:id="@+id/TextView" android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
|
|
|
<!-- bug with width set it to 100 -->
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-27 19:15:29 +02:00
|
|
|
<EditText android:text="" android:id="@+id/Name" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:layout_height="wrap_content" android:layout_width ="100dp"></EditText>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-16 17:05:06 +02:00
|
|
|
</TableRow>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-16 17:05:06 +02:00
|
|
|
<TableRow>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
|
|
|
<Button android:text="<Type>" android:id="@+id/TypeButton" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
|
|
|
|
2012-02-18 02:42:09 +01:00
|
|
|
<AutoCompleteTextView
|
|
|
|
android:text="" android:id="@+id/Type" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:layout_height="wrap_content" android:layout_width ="fill_parent"/>
|
2010-06-29 10:55:48 +02:00
|
|
|
<!-- <EditText android:text="" android:id="@+id/Type" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:layout_height="wrap_content" android:layout_width = "fill_parent" /> -->
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-16 17:05:06 +02:00
|
|
|
</TableRow>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-16 17:05:06 +02:00
|
|
|
<TableRow>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-07-05 20:19:03 +02:00
|
|
|
<Button android:text="@string/poi_dialog_opening_hours" android:id="@+id/OpenHoursButton" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-29 10:55:48 +02:00
|
|
|
<EditText android:text="" android:hint="Mo-Su 08:00-20:00" android:id="@+id/OpeningHours" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:layout_width ="100dp" android:layout_height="wrap_content"></EditText>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
2010-06-16 17:05:06 +02:00
|
|
|
</TableRow>
|
2012-08-09 11:03:35 +02:00
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/TextView01"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:text="@string/phone" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/Phone"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:hint="0123456789"
|
|
|
|
android:inputType="phone" >
|
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</EditText>
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/TextView02"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:text="@string/website" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/Website"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:hint="http://osmand.net" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
2010-06-16 17:05:06 +02:00
|
|
|
<TableRow>
|
2010-06-27 19:15:29 +02:00
|
|
|
<TextView android:text="@string/poi_dialog_comment" android:id="@+id/TextView" android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
2010-06-29 10:55:48 +02:00
|
|
|
<EditText android:text="@string/poi_dialog_comment_default" android:id="@+id/Comment" android:layout_marginLeft="5dp" android:layout_width ="100dp" android:layout_marginRight="5dp" android:layout_height="wrap_content"></EditText>
|
2010-06-16 17:05:06 +02:00
|
|
|
</TableRow>
|
2010-06-27 19:15:29 +02:00
|
|
|
|
2010-08-18 01:01:57 +02:00
|
|
|
</TableLayout>
|
2012-08-30 22:21:19 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/advancedMode"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
2012-09-12 21:20:26 +02:00
|
|
|
android:text="@string/btn_advanced_mode" />
|
2012-08-30 22:21:19 +02:00
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
android:id="@+id/advancedModeTable"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:stretchColumns="1"
|
|
|
|
android:visibility="gone">
|
|
|
|
</TableLayout>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/addTag"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
2012-09-12 21:20:26 +02:00
|
|
|
android:text="@string/btn_add_tag"
|
2012-08-30 22:21:19 +02:00
|
|
|
android:visibility="gone"/>
|
2010-06-19 18:56:52 +02:00
|
|
|
<TextView android:text="@string/poi_dialog_other_tags_message" android:id="@+id/TextView" android:layout_marginLeft="5dp" android:layout_width="fill_parent" android:layout_height="wrap_content"/>
|
2010-06-16 17:05:06 +02:00
|
|
|
<LinearLayout android:id="@+id/LinearLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal"
|
|
|
|
android:gravity="bottom|center">
|
2010-06-19 18:56:52 +02:00
|
|
|
<Button android:layout_width="125dp" android:layout_height="wrap_content" android:text="@string/default_buttons_commit" android:id="@+id/Commit"></Button>
|
|
|
|
<Button android:layout_width="125dp" android:layout_height="wrap_content" android:text="@string/default_buttons_cancel" android:id="@+id/Cancel"></Button>
|
2010-06-16 17:05:06 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2010-08-18 01:01:57 +02:00
|
|
|
</ScrollView>
|