Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- 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"
- android:background="@color/azure"
- tools:context=".MerchantSignUp">
- <android.support.v7.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:layout_marginBottom="20dp"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_marginTop="20dp"
- app:cardCornerRadius="10dp"
- app:cardElevation="3dp"
- app:cardPreventCornerOverlap="false"
- app:cardUseCompatPadding="true">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:id="@+id/linearL1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/colorPrimary"
- android:gravity="center_horizontal"
- android:orientation="vertical">
- <ImageView
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:contentDescription="@string/desc"
- android:layout_marginTop="20dp"
- android:background="@drawable/circle"
- android:padding="10dp"
- android:src="@drawable/register"
- android:tint="@color/white" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="20dp"
- android:layout_marginTop="10dp"
- android:fontFamily="sans-serif-medium"
- android:text="SIGN UP"
- android:textColor="@color/white"
- android:textSize="22sp" />
- </LinearLayout>
- <ImageView
- android:id="@+id/imageView1"
- android:contentDescription="@string/desc"
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:layout_below="@+id/linearL1"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="-10dp"
- android:rotation="45"
- android:src="@drawable/square" />
- <LinearLayout
- android:id="@+id/container_linear"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_below="@+id/imageView1"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_marginTop="30dp"
- >
- <EditText
- android:id="@+id/PbrandName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/edittextstyle"
- android:hint="Brand Name"
- android:inputType="text"
- android:textSize="15sp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="15dp"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="10dp"
- >
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="photo :"
- android:textSize="17sp"
- android:layout_weight="4"
- android:layout_marginTop="20dp"
- />
- <ImageButton
- android:id="@+id/PickImagePlace"
- android:contentDescription="@string/desc"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="-5dp"
- android:layout_weight="2"
- android:backgroundTint="@color/white"
- app:srcCompat="@drawable/upload_image" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="category:"
- android:id="@+id/cat"
- android:layout_marginLeft="10dp"
- android:paddingRight="10dp"
- />
- <Spinner
- android:id="@+id/spinner2"
- android:layout_marginRight="5dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@+id/cat"
- />
- </RelativeLayout>
- <ImageView
- android:id="@+id/placeUploadedImage"
- android:layout_width="match_parent"
- android:contentDescription="@string/desc"
- android:layout_height="200dp"
- android:visibility="gone"
- android:layout_marginBottom="10dp"
- android:adjustViewBounds="true"
- android:contextClickable="false"
- android:layout_marginTop="15dp"
- app:srcCompat="@drawable/profile_pic" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_marginTop="15dp"
- android:orientation="vertical"
- >
- <EditText
- android:id="@+id/Pemail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textSize="15sp"
- android:layout_marginTop="15dp"
- android:background="@drawable/edittextstyle"
- android:ems="10"
- android:hint="Email"
- android:inputType="textEmailAddress" />
- <EditText
- android:id="@+id/Ppassword"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="15dp"
- android:layout_weight="1"
- android:textSize="15sp"
- android:background="@drawable/edittextstyle"
- android:ems="10"
- android:hint="PassWord"
- android:inputType="textPassword" />
- </LinearLayout>
- <Button
- android:id="@+id/button_signup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="30dp"
- android:layout_marginRight="30dp"
- android:layout_marginBottom="15dp"
- android:layout_marginTop="30dp"
- android:background="@color/colorPrimary"
- android:fontFamily="sans-serif-medium"
- android:text="Sign Up"
- android:textColor="@color/white" />
- </LinearLayout>
- </RelativeLayout>
- </ScrollView>
- </android.support.v7.widget.CardView>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement