Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".main.ReferrerActivity"
    android:background="@color/green_tobe_used"
    >


    <LinearLayout android:layout_width="match_parent"
    android:background="@color/green_tobe_used"
    android:layout_height="match_parent"
    android:layout_gravity="center"
    android:gravity="center"
    android:padding="10dp"
    android:orientation="vertical">

        <ScrollView
            android:layout_width="match_parent"
            android:background="@color/green_tobe_used"
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_height="match_parent">

    <RelativeLayout android:layout_width="match_parent"
        android:layout_height="550dp"
        android:padding="10dp"
        android:background="@drawable/roundshape"
        android:gravity="center"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Retailer Verification"
            android:id="@+id/info"
            android:textColor="@color/grey_black"
            android:textStyle="bold"
            android:gravity="center"
            android:textSize="20dp"/>


        <android.support.design.widget.TextInputLayout
            android:id="@+id/Invitecodeinput"
            android:layout_width="match_parent"
            android:layout_below="@+id/info"
            android:layout_alignParentRight="true"
            android:layout_alignParentEnd="true"
            android:layout_height="wrap_content">
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/referalCode"
            android:gravity="left"
            android:maxLines="1"
            android:hint="Invite code" />
        </android.support.design.widget.TextInputLayout>


        <TextView
            android:id="@+id/subtextrefferer"
            android:textSize="20dp"
            android:layout_below="@+id/Invitecodeinput"
            android:text="OR"
            android:gravity="center"
            android:layout_centerHorizontal="true"
            android:layout_marginLeft="10dp"
            android:layout_marginTop="5dp"
            android:textColor="@color/Black"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

        <TextView
            android:id="@+id/message"
            android:text="Attach Documents"
            android:textStyle="bold"
            android:gravity="center"
            android:textSize="15dp"
            android:padding="5dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/subtextrefferer"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true" />

        <TextView
            android:id="@+id/supportList"
            android:text="View document List"
            android:gravity="center"
            android:onClick="onClick"
            android:clickable="true"
            android:textColor="@color/Blue"
            android:textSize="12dp"
            android:padding="5dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_above="@+id/supportDocument"
            android:layout_alignParentRight="true"
            android:layout_alignParentEnd="true" />

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/storeDocument"
            android:padding="10dp"
            android:layout_below="@+id/message">

        <TextView
            android:text="Store Image"
            android:textStyle="bold"
            android:layout_width="wrap_content"
            android:id="@+id/uploadimage"
            android:layout_height="wrap_content"
            android:inputType="text"
            android:layout_centerVertical="true"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true" />

            <ImageView
                android:id="@+id/Imagebutton"
                android:background="@drawable/ic_icon_gallery"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:foregroundGravity="center"
                android:layout_alignParentTop="true"
                android:layout_toRightOf="@+id/uploadimage"
                android:layout_toEndOf="@+id/uploadimage" />

        </RelativeLayout>

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/supportDocument"
            android:layout_above="@+id/ivImage"
            android:padding="5dp"
            android:layout_alignRight="@+id/ivImage2"
            android:layout_alignEnd="@+id/ivImage2"
            android:layout_toEndOf="@+id/ivImage"
            android:layout_toRightOf="@+id/ivImage">


        <TextView
            android:text="SupportDocument"
            android:textStyle="bold"
            android:layout_width="wrap_content"
            android:gravity="center"
            android:id="@+id/uploadimagesecond"
            android:layout_height="wrap_content"
            android:inputType="text"
            android:maxLines="1"
            android:layout_centerVertical="true"
            android:layout_toLeftOf="@+id/Imagebutton2"
            android:layout_toStartOf="@+id/Imagebutton2" />

            <ImageView
                android:id="@+id/Imagebutton2"
                android:background="@drawable/ic_icon_gallery"
                android:layout_width="wrap_content"
                android:layout_height="35dp"
                android:layout_alignParentTop="true"
                android:layout_alignParentRight="true"
                android:layout_alignParentEnd="true" />
        </RelativeLayout>
        <ImageView
            android:id="@+id/ivImage"
            android:layout_width="125dp"
            android:layout_height="125dp"
            android:layout_below="@+id/storeDocument"
            android:layout_toRightOf="@+id/remove"
            android:layout_toEndOf="@+id/remove" />
        <ImageView
            android:id="@+id/ivImage2"
            android:layout_width="125dp"
            android:layout_height="125dp"
            android:layout_below="@+id/supportDocument"
            android:layout_alignRight="@+id/Invitecodeinput"
            android:layout_alignEnd="@+id/Invitecodeinput" />


        <ImageButton
            android:layout_width="wrap_content"
            android:id="@+id/remove"
            android:text="Remove"
       android:visibility="gone"
            android:background="@drawable/ic_action_remove"
            android:layout_height="35dp"
            android:layout_below="@+id/storeDocument"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true" />



        <ImageButton
            android:layout_width="wrap_content"
            android:id="@+id/remove2"
            android:visibility="gone"
            android:background="@drawable/ic_action_remove"
            android:layout_height="35dp"
            android:layout_below="@+id/supportDocument"
            android:layout_toLeftOf="@+id/ivImage2"
            android:layout_toStartOf="@+id/ivImage2" />
        <Button
            android:layout_width="200dp"
            android:id="@+id/referrerSend"
            android:text="Submit"
            android:textColor="@color/White"
            android:layout_height="35dp"
            android:background="@drawable/round"
            android:layout_below="@+id/ivImage"
            android:layout_marginTop="20dp"
            android:padding="10dp"
            android:layout_centerHorizontal="true" />



    </RelativeLayout>



</ScrollView>
    </LinearLayout>
    </RelativeLayout>