2016-01-24 16:14:33 +01:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-01-24 19:52:55 +01:00
|
|
|
android:background="?attr/spinnerListBackground"
|
2016-01-24 16:14:33 +01:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="56dp"
|
2016-02-08 10:50:42 +01:00
|
|
|
android:background="?attr/pstsTabBackground"
|
2016-01-24 16:14:33 +01:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/closeButton"
|
|
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
2016-01-27 19:49:30 +01:00
|
|
|
android:layout_width="52dp"
|
|
|
|
android:layout_height="52dp"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:contentDescription="@string/shared_string_close"
|
2016-01-24 16:14:33 +01:00
|
|
|
android:src="@drawable/ic_action_remove_dark"/>
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
2016-01-27 19:49:30 +01:00
|
|
|
android:id="@+id/titleTextView"
|
2016-01-24 16:14:33 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:layout_marginLeft="20dp"
|
2016-01-26 22:11:13 +01:00
|
|
|
android:text="@string/osm_live_subscription"
|
2016-01-24 16:14:33 +01:00
|
|
|
android:textColor="@color/color_white"
|
|
|
|
android:textSize="@dimen/default_list_text_size_large"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:typeface="@string/font_roboto_regular"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2016-01-29 19:13:48 +01:00
|
|
|
<FrameLayout
|
2016-01-24 22:09:54 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2016-01-24 21:18:07 +01:00
|
|
|
|
2016-01-29 19:13:48 +01:00
|
|
|
<include layout="@layout/card_bottom_divider"/>
|
2016-01-24 19:52:55 +01:00
|
|
|
|
2016-01-29 19:13:48 +01:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2016-01-24 19:52:55 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2016-01-24 22:09:54 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-01-24 19:52:55 +01:00
|
|
|
android:layout_height="wrap_content"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:background="?attr/bg_color"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/headerLayout"
|
2016-01-24 22:09:54 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="visible">
|
2016-01-24 22:09:54 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:minHeight="56dp"
|
|
|
|
android:orientation="horizontal">
|
2016-01-24 22:09:54 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:src="@drawable/ic_action_osm_live"
|
|
|
|
android:tint="@color/osmand_orange"/>
|
2016-01-29 19:13:48 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:text="@string/osm_live_subscription_desc"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"/>
|
2016-01-24 22:09:54 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:minHeight="56dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatCheckBox
|
|
|
|
android:id="@+id/donationCheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:paddingLeft="34dp"
|
|
|
|
android:text="@string/donation_to_osm"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="72dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:text="@string/donation_to_osm_desc"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-01-24 19:52:55 +01:00
|
|
|
|
2016-01-24 22:09:54 +01:00
|
|
|
<LinearLayout
|
2016-08-20 20:12:08 +02:00
|
|
|
android:id="@+id/paramsLayout"
|
2016-01-24 22:09:54 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
2016-01-29 19:13:48 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginBottom="6dp"
|
|
|
|
android:background="?attr/dashboard_divider"/>
|
2016-01-29 19:13:48 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<LinearLayout
|
2016-01-27 19:49:30 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:minHeight="56dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/countryIcon"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:src="@drawable/ic_world_globe_dark"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:text="@string/osm_live_support_region"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.AutoCompleteTextViewEx
|
|
|
|
android:id="@+id/selectCountryEdit"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableRight="@drawable/ic_action_arrow_drop_down"
|
|
|
|
android:editable="false"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="Ukraine"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:text="@string/osm_live_region_desc"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-01-24 19:52:55 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
</LinearLayout>
|
2016-01-27 19:49:30 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="56dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/emailIcon"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:src="@drawable/ic_action_message"/>
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/emailEdit"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:hint="@string/shared_string_email_address"
|
|
|
|
android:inputType="textEmailAddress"
|
|
|
|
android:paddingLeft="2dp"/>
|
2016-01-29 19:13:48 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
</LinearLayout>
|
2016-01-29 19:13:48 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="72dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:text="@string/osm_live_email_desc"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
2016-01-29 19:13:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-01-27 19:49:30 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-01-29 19:13:48 +01:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<LinearLayout
|
2016-01-29 19:13:48 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:minHeight="56dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userNameIcon"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:src="@drawable/ic_person"/>
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/userNameEdit"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:hint="@string/osm_live_user_public_name"
|
|
|
|
android:inputType="text"
|
|
|
|
android:paddingLeft="2dp"/>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/hideUserNameCheckbox"
|
2016-01-29 19:13:48 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:layout_marginBottom="12dp"
|
|
|
|
android:layout_marginLeft="72dp"
|
|
|
|
android:layout_marginRight="16dp"
|
2016-01-29 19:13:48 +01:00
|
|
|
android:layout_marginTop="8dp"
|
2016-08-20 20:12:08 +02:00
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:text="@string/osm_live_hide_user_name"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2016-08-22 10:58:17 +02:00
|
|
|
</LinearLayout>
|
2016-01-29 19:13:48 +01:00
|
|
|
|
2016-08-22 10:58:17 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/editModeBottomView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
2018-11-01 17:16:58 +01:00
|
|
|
android:visibility="visible">
|
2016-01-29 19:13:48 +01:00
|
|
|
|
2016-08-22 10:58:17 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/saveChangesButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="72dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:background="@drawable/btn_round_blue"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:text="@string/shared_string_save_changes"
|
|
|
|
android:textColor="@color/color_white"/>
|
2016-01-24 16:14:33 +01:00
|
|
|
|
2016-01-24 22:09:54 +01:00
|
|
|
</LinearLayout>
|
2016-01-24 16:14:33 +01:00
|
|
|
|
2016-01-24 22:09:54 +01:00
|
|
|
</LinearLayout>
|
2016-01-24 16:14:33 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<include layout="@layout/card_bottom_divider"/>
|
2016-01-27 19:49:30 +01:00
|
|
|
|
2016-08-20 20:12:08 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="16dp"/>
|
|
|
|
|
2016-01-24 22:09:54 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2016-01-29 19:13:48 +01:00
|
|
|
</ScrollView>
|
2016-01-24 16:14:33 +01:00
|
|
|
|
2016-01-29 19:13:48 +01:00
|
|
|
</FrameLayout>
|
2016-01-24 16:14:33 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|