Subversion Repositories SmartDukaan

Rev

Rev 22833 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22833 Rev 24857
Line 70... Line 70...
70
        t.setScreenName("Tutorials Screen");
70
        t.setScreenName("Tutorials Screen");
71
        t.send(new HitBuilders.ScreenViewBuilder().build());
71
        t.send(new HitBuilders.ScreenViewBuilder().build());
72
        /*final int[] flag = new int[] {R.drawable.mypreferencesnew,R.drawable.dealstutorial1, R.drawable.cashback,
72
        /*final int[] flag = new int[] {R.drawable.mypreferencesnew,R.drawable.dealstutorial1, R.drawable.cashback,
73
                R.drawable.mypreferencestutorial, R.drawable.searchtutorial};*/
73
                R.drawable.mypreferencestutorial, R.drawable.searchtutorial};*/
74
 
74
 
75
        final int[] flag = new int[] {R.drawable.first_screen,R.drawable.register_screen,R.drawable.activate_screen, R.drawable.home_page_sc, R.drawable.deals_screen, R.drawable.payment_screen, R.drawable.differ_screen};
75
        final int[] flag = new int[] {R.drawable.applogo_screen,R.drawable.register,R.drawable.screen_activation, R.drawable.offer_screen, R.drawable.sd_deals, R.drawable.payment_option, R.drawable.description};
76
 
76
 
77
        final String[] rank = new String[] { "1", "2", "3", "4","5","6","7"};
77
        final String[] rank = new String[] { "1", "2", "3", "4","5","6","7"};
78
        /*String[] openingText = new String[] { "First, Tell Us What You Like","We recommend, You profit","Get Cashback every time you shop", "Get deals that you are looking for", "Compare prices from all the big stores" };
78
        /*String[] openingText = new String[] { "First, Tell Us What You Like","We recommend, You profit","Get Cashback every time you shop", "Get deals that you are looking for", "Compare prices from all the big stores" };
79
        String[] middleText = new String[] { "Start by listing your favorite brands, your price range, & get better, targeted deals","We search the whole internet to find the best deals on mobiles and other products only for you", "Redeem your cashback every week. Get the money in your Saholic Wallet and use that on Mobile and DTH recharges.", "You can easily set up your preferences for the category, brand and price range that you are interested in", "You have a single screen to look at prices from Flipkart, Amazon, Snapdeal and more!"};*/
79
        String[] middleText = new String[] { "Start by listing your favorite brands, your price range, & get better, targeted deals","We search the whole internet to find the best deals on mobiles and other products only for you", "Redeem your cashback every week. Get the money in your Saholic Wallet and use that on Mobile and DTH recharges.", "You can easily set up your preferences for the category, brand and price range that you are interested in", "You have a single screen to look at prices from Flipkart, Amazon, Snapdeal and more!"};*/
80
        vpPager = (ViewPager)rootView.findViewById(R.id.pager);
80
        vpPager = (ViewPager)rootView.findViewById(R.id.pager);
Line 83... Line 83...
83
        mIndicator = (CirclePageIndicator)rootView.findViewById(R.id.indicator);
83
        mIndicator = (CirclePageIndicator)rootView.findViewById(R.id.indicator);
84
        mIndicator.setViewPager(vpPager);
84
        mIndicator.setViewPager(vpPager);
85
 
85
 
86
        final float density = getResources().getDisplayMetrics().density;
86
        final float density = getResources().getDisplayMetrics().density;
87
 
87
 
88
        mIndicator.setFillColor(getResources().getColor(R.color.green_app));
88
        mIndicator.setFillColor(getResources().getColor(R.color.app_red));
89
        mIndicator.setStrokeColor(getResources().getColor(R.color.Black));
89
        mIndicator.setStrokeColor(getResources().getColor(R.color.Black));
90
        mIndicator.setStrokeWidth(1);
90
        mIndicator.setStrokeWidth(1);
91
        mIndicator.setRadius(6 * density);
91
        mIndicator.setRadius(6 * density);
92
 
92
 
93
        vpPager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {
93
        vpPager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {