Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14792 manas 1
<ScrollView
2
    android:layout_height="match_parent"
3
    xmlns:android="http://schemas.android.com/apk/res/android"
4
    android:background="@color/green_tobe_used"
5
    android:layout_width="match_parent"
6
    >
7
    <RelativeLayout
8
 
9
        android:layout_width="match_parent"
10
        android:layout_height="match_parent">
11
 
12
        <ImageView
13
            android:id="@+id/logo"
14
            android:src="@drawable/pmlogo"
15
            android:layout_width="wrap_content"
16
            android:layout_height="wrap_content"
17
            android:layout_centerHorizontal="true"
18
            />
19
 
20
        <ImageButton
21
            android:id="@+id/google_login_button"
22
            android:layout_width="wrap_content"
23
            android:layout_below="@+id/logo"
24
            android:src="@drawable/google_login_new"
25
            android:layout_marginTop="10dp"
26
            android:layout_centerHorizontal="true"
27
            android:background="@color/green_tobe_used"
28
            android:layout_height="wrap_content" />
29
       <ImageButton
30
           android:id="@+id/facebook_login_button"
31
           android:layout_width="wrap_content"
32
 
33
           android:layout_below="@+id/google_login_button"
34
           android:src="@drawable/facebook_login_new"
35
           android:layout_centerHorizontal="true"
36
           android:layout_height="wrap_content"
37
           android:background="@color/green_tobe_used"
38
           android:layout_marginTop="20dp"/>
39
       <!-- <com.google.android.gms.common.SignInButton
40
            android:id="@+id/facebook_login_button"
41
            android:layout_width="match_parent"
42
 
43
            android:layout_below="@+id/google_login_button"
44
            android:src="@drawable/google_login_new"
45
            android:layout_height="wrap_content"
46
            android:background="@color/green_tobe_used"
47
            android:layout_marginTop="20dp"
48
            android:layout_alignRight="@+id/google_login_button"
49
            android:layout_alignEnd="@+id/google_login_button"
50
            android:layout_toRightOf="@+id/facebook_class_login_button"
51
            android:layout_toEndOf="@+id/facebook_class_login_button"></com.google.android.gms.common.SignInButton>-->
52
 
53
        <com.facebook.widget.LoginButton
54
            android:layout_width="wrap_content"
55
            android:layout_height="wrap_content"
56
            android:id="@+id/facebook_class_login_button"
57
            android:visibility="gone"/>
58
 
59
        <EditText
60
            android:id="@+id/referralCode"
61
            android:layout_below="@id/facebook_login_button"
62
            android:layout_width="250dp"
63
            android:background="@color/White"
64
            android:layout_marginTop="30dp"
65
            android:hint="Referral Code"
66
            android:gravity="center"
67
            android:layout_centerHorizontal="true"
68
            android:layout_height="30dp" />
69
 
70
        <TextView
71
            android:layout_below="@+id/referralCode"
72
            android:id="@+id/inviteError"
73
            android:layout_marginTop="10dp"
74
            android:textColor="@color/White"
75
            android:layout_centerHorizontal="true"
76
            android:visibility="gone"
77
            android:layout_width="250dp"
78
            android:layout_height="wrap_content" />
79
 
80
        <TextView
81
            android:layout_below="@+id/inviteError"
82
            android:id="@+id/inviteNumber"
83
            android:layout_marginTop="10dp"
84
            android:textColor="@color/White"
85
            android:layout_centerHorizontal="true"
86
            android:visibility="gone"
87
            android:gravity="center"
88
            android:layout_width="250dp"
89
            android:layout_height="wrap_content" />
90
       </RelativeLayout>
91
    </ScrollView>