224 lines
8.2 KiB
XML
224 lines
8.2 KiB
XML
<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"
|
|
android:background="?attr/spinnerListBackground"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:background="@color/osmand_orange"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageButton
|
|
android:id="@+id/closeButton"
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:src="@drawable/ic_action_remove_dark"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:text="Subscription form"
|
|
android:textColor="@color/color_white"
|
|
android:textSize="@dimen/default_list_text_size_large"
|
|
android:textStyle="bold"
|
|
app:typeface="@string/font_roboto_regular"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/shadow_bottom"/>
|
|
|
|
|
|
<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="E-mail address"
|
|
android:inputType="textEmailAddress"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<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:text="We need your email address to send you reports, information about money spending"
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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="Public Name"
|
|
android:inputType="text"/>
|
|
|
|
|
|
</LinearLayout>
|
|
<CheckBox
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_marginLeft="72dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:text="Don't show my name in reports"
|
|
android:textColor="?android:attr/textColorPrimary"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="56dp"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginBottom="8dp"
|
|
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:orientation="vertical">
|
|
|
|
|
|
<net.osmand.plus.widgets.AutoCompleteTextViewEx
|
|
android:id="@+id/selectCountryEdit"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="4dp"
|
|
android:hint="Support region"
|
|
android:drawableRight="@drawable/ic_action_arrow_drop_down"
|
|
android:editable="false"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"
|
|
android:background="?attr/bg_card"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Month cost"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size_large"
|
|
android:textStyle="bold"
|
|
app:typeface="@string/font_roboto_regular"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/priceTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="right"
|
|
android:text="@string/osm_live_default_price"
|
|
android:textColor="?attr/color_dialog_buttons"
|
|
android:textSize="@dimen/default_list_text_size_large"
|
|
android:textStyle="bold"
|
|
app:typeface="@string/font_roboto_regular"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:text="Monthly payment"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
app:typeface="@string/font_roboto_regular"/>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="?attr/divider_color"/>
|
|
|
|
<Button
|
|
android:id="@+id/subscribeButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="6dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:text="Subscribe"
|
|
android:textColor="?attr/color_dialog_buttons"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|