Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
23410 tejbeer 1
<?xml version="1.0" ?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:tools="http://schemas.android.com/tools"
4
    android:id="@+id/com_mixpanel_android_activity_survey_id"
5
    android:layout_width="match_parent"
6
    android:layout_height="fill_parent"
7
    android:padding="20dp"
8
    android:clickable="true"
9
    android:orientation="vertical"
10
    android:visibility="gone" >
11
 
12
    <RelativeLayout
13
        android:layout_width="match_parent"
14
        android:layout_height="wrap_content"
15
        android:orientation="horizontal"
16
        android:clickable="true" >
17
 
18
        <ImageButton
19
            android:id="@+id/com_mixpanel_android_button_previous"
20
            android:layout_width="35dp"
21
            android:layout_height="44dp"
22
            android:layout_alignParentLeft="true"
23
            android:clickable="true"
24
            android:background="@drawable/com_mixpanel_android_arrowleft_insets"
25
            android:contentDescription="@string/com_mixpanel_android_previous"
26
            android:onClick="goToPreviousQuestion" />
27
 
28
        <TextView
29
            android:id="@+id/com_mixpanel_android_progress_text"
30
            android:layout_width="wrap_content"
31
            android:layout_height="wrap_content"
32
            android:layout_centerHorizontal="true"
33
            android:textSize="20dp"
34
            android:textColor="#ffffff"
35
            tools:ignore="SpUsage" />
36
 
37
        <ImageButton
38
            android:id="@+id/com_mixpanel_android_button_next"
39
            android:layout_width="35dp"
40
            android:layout_height="44dp"
41
            android:layout_alignParentRight="true"
42
            android:clickable="true"
43
            android:background="@drawable/com_mixpanel_android_arrowright_insets"
44
            android:contentDescription="@string/com_mixpanel_android_next"
45
            android:onClick="goToNextQuestion" />
46
    </RelativeLayout>
47
 
48
    <com.mixpanel.android.surveys.CardCarouselLayout
49
        android:id="@+id/com_mixpanel_android_question_card_holder"
50
        android:layout_width="match_parent"
51
        android:layout_height="0dp" android:layout_gravity="center"
52
        android:layout_weight="1" android:orientation="vertical"
53
        ></com.mixpanel.android.surveys.CardCarouselLayout>
54
 
55
    <RelativeLayout
56
        android:layout_width="fill_parent"
57
        android:layout_height="40dp"
58
        android:paddingTop="10dp" >
59
 
60
        <ImageView
61
            android:layout_width="wrap_content"
62
            android:layout_height="25dp"
63
            android:scaleType="fitStart"
64
            android:layout_alignParentLeft="true"
65
            android:layout_alignParentBottom="true"
66
            android:src="@drawable/com_mixpanel_android_logo"
67
            android:contentDescription="@string/com_mixpanel_android_logo"
68
            />
69
 
70
        <com.mixpanel.android.surveys.FadeOnPressButton
71
            android:id="@+id/com_mixpanel_android_button_exit"
72
            android:layout_width="wrap_content"
73
            android:layout_height="30dp"
74
            android:layout_alignParentRight="true"
75
            android:layout_alignParentBottom="true"
76
            android:paddingBottom="0dp"
77
            android:textColor="#ffffff"
78
            android:textSize="20dp"
79
            android:clickable="true"
80
            android:background="@android:color/transparent"
81
            android:text="@string/com_mixpanel_android_exit"
82
            android:gravity="right|center_vertical"
83
            android:onClick="completeSurvey"
84
            android:layout_marginBottom="3dp"
85
            tools:ignore="SpUsage"/>
86
 
87
    </RelativeLayout>
88
 
89
</LinearLayout>
90
<!-- From: file:/Users/joe/Desktop/mixpanel-android/src/main/res/layout/com_mixpanel_android_activity_survey.xml -->