Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="200dp"
- android:background="@drawable/rounded_top">
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/transparent">
- <com.google.android.material.appbar.MaterialToolbar
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:menu="@menu/menu"
- app:navigationIcon="@drawable/ic_nav_menu" />
- </com.google.android.material.appbar.AppBarLayout>
- <TextView
- android:id="@+id/tv_slogan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/appbar"
- android:layout_marginStart="48dp"
- android:layout_marginTop="4dp"
- android:text="@string/first_slogan_2"
- android:textColor="@color/white"
- android:textSize="32sp"
- android:textStyle="bold" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/tv_slogan"
- android:layout_alignStart="@+id/tv_slogan"
- android:text="@string/second_slogan_2"
- android:textColor="@color/white"
- android:textSize="32sp"
- android:textStyle="bold" />
- </RelativeLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/margin"
- android:layout_marginTop="@dimen/margin"
- android:layout_marginEnd="@dimen/margin"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:contentDescription="@string/desc"
- android:src="@drawable/ic_username" />
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColorHint="@color/black"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox"
- app:endIconMode="clear_text">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/edt_username"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:hint="@string/username"
- android:inputType="text"
- android:maxLines="1" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/margin"
- android:layout_marginTop="12dp"
- android:layout_marginEnd="@dimen/margin"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:contentDescription="@string/desc"
- android:src="@drawable/ic_phone" />
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginEnd="6dp"
- android:layout_weight="1"
- android:textColorHint="@color/black"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox"
- app:endIconMode="clear_text">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/edt_phone_number"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:hint="@string/phone"
- android:inputType="phone"
- android:maxLines="1" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="6dp"
- android:layout_weight="1.5"
- android:hint="@string/area"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox">
- <AutoCompleteTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="none"
- tools:ignore="LabelFor" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/margin"
- android:layout_marginTop="12dp"
- android:layout_marginEnd="@dimen/margin"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:contentDescription="@string/desc"
- android:src="@drawable/ic_address" />
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColorHint="@color/black"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox"
- app:endIconMode="clear_text">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/edt_address"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:hint="@string/address"
- android:inputType="text" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="54dp"
- android:layout_marginTop="12dp"
- android:layout_marginEnd="@dimen/margin"
- android:textColorHint="@color/black"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox"
- app:endIconMode="clear_text">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/edt_city"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:hint="@string/city"
- android:inputType="text"
- android:maxLines="1" />
- </com.google.android.material.textfield.TextInputLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="54dp"
- android:layout_marginTop="12dp"
- android:layout_marginEnd="@dimen/margin"
- android:baselineAligned="false"
- android:gravity="center"
- android:orientation="horizontal">
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginEnd="6dp"
- android:layout_weight="1"
- android:hint="@string/state"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox">
- <AutoCompleteTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="none"
- tools:ignore="LabelFor" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="6dp"
- android:layout_weight="1"
- android:textColorHint="@color/black"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox"
- app:endIconMode="clear_text"
- app:startIconTint="@color/black">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/edt_phone_zip"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:hint="@string/zip"
- android:inputType="number"
- android:maxLines="1" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/margin"
- android:layout_marginTop="12dp"
- android:layout_marginEnd="@dimen/margin"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:contentDescription="@string/desc"
- android:src="@drawable/ic_email" />
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColorHint="@color/black"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox"
- app:endIconMode="clear_text"
- app:suffixText="@string/suff_email">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/edt_email"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:hint="@string/email"
- android:inputType="textEmailAddress" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/margin"
- android:layout_marginTop="12dp"
- android:layout_marginEnd="@dimen/margin"
- android:gravity="center"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:contentDescription="@string/desc"
- android:src="@drawable/ic_birthday" />
- <com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColorHint="@color/black"
- app:boxCornerRadiusBottomEnd="@dimen/roundedBox"
- app:boxCornerRadiusBottomStart="@dimen/roundedBox"
- app:boxCornerRadiusTopEnd="@dimen/roundedBox"
- app:boxCornerRadiusTopStart="@dimen/roundedBox"
- app:endIconMode="clear_text">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/edt_birthday"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:drawableEnd="@drawable/ic_calendar"
- android:drawablePadding="6dp"
- android:ellipsize="end"
- android:hint="@string/birthday"
- android:inputType="date" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <Button
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_gravity="center"
- android:layout_margin="@dimen/margin"
- android:background="@drawable/rounded_button"
- android:text="@string/save"
- android:textColor="@color/white"
- android:textSize="18sp" />
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement