2015-08-12 16:42:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-08-14 13:12:59 +02:00
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-08-27 12:36:19 +02:00
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
2015-09-11 14:12:16 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-08-14 13:12:59 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-08-19 12:59:10 +02:00
|
|
|
android:layout_height="match_parent"
|
2015-09-04 18:29:28 +02:00
|
|
|
android:theme="?attr/new_app_theme">
|
2015-08-12 16:42:04 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<FrameLayout
|
2015-08-14 13:12:59 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-09-11 14:12:16 +02:00
|
|
|
android:layout_height="wrap_content">
|
2015-08-26 19:44:04 +02:00
|
|
|
|
2015-08-27 12:36:19 +02:00
|
|
|
<LinearLayout
|
2015-08-19 12:59:10 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-09-11 14:12:16 +02:00
|
|
|
android:layout_height="match_parent"
|
2015-08-27 12:36:19 +02:00
|
|
|
android:orientation="vertical">
|
2015-08-26 19:44:04 +02:00
|
|
|
|
2015-08-19 12:59:10 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-09-11 14:12:16 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="14dp"
|
|
|
|
android:layout_marginRight="14dp"
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
android:background="?attr/bg_card"
|
|
|
|
android:orientation="vertical">
|
2015-08-26 19:44:04 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<LinearLayout
|
2015-08-19 12:59:10 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-12-01 12:41:43 +01:00
|
|
|
android:minHeight="44dp"
|
|
|
|
android:layout_height="wrap_content"
|
2015-09-11 14:12:16 +02:00
|
|
|
android:gravity="center">
|
2015-08-26 19:44:04 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:layout_width="120dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:text="@string/tag_poi_name"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_regular"/>
|
2015-08-26 19:44:04 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/dashboard_divider"/>
|
2015-08-26 19:44:04 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/nameTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
2015-12-01 12:41:43 +01:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2015-09-11 14:12:16 +02:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
2015-12-01 12:41:43 +01:00
|
|
|
tools:text="very very very long poi name"/>
|
2015-09-11 14:12:16 +02:00
|
|
|
</LinearLayout>
|
2015-08-26 19:44:04 +02:00
|
|
|
|
2015-08-19 12:59:10 +02:00
|
|
|
<View
|
2015-09-11 14:12:16 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2015-09-10 15:39:03 +02:00
|
|
|
android:background="?attr/dashboard_divider"/>
|
2015-08-19 12:59:10 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<LinearLayout
|
2015-08-19 12:59:10 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-12-01 12:41:43 +01:00
|
|
|
android:minHeight="44dp"
|
|
|
|
android:layout_height="wrap_content"
|
2015-09-11 14:12:16 +02:00
|
|
|
android:gravity="center">
|
2015-08-14 13:12:59 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/amenityTagTextView"
|
|
|
|
android:layout_width="120dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:text="@string/tag_poi_amenity"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_regular"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/dashboard_divider"/>
|
2015-08-14 13:12:59 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/amenityTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:text="landmark"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2015-08-14 13:12:59 +02:00
|
|
|
|
2015-09-11 14:12:16 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/editTagsList"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:saveEnabled="false"/>
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.ButtonEx
|
|
|
|
android:id="@+id/addTagButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="12dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:text="@string/add_tag"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
2015-08-14 13:12:59 +02:00
|
|
|
</android.support.v4.widget.NestedScrollView>
|