diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..681f41a
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/_gitignore.txt b/_gitignore.txt
new file mode 100644
index 0000000..2b75303
--- /dev/null
+++ b/_gitignore.txt
@@ -0,0 +1,13 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
diff --git a/app/_gitignore.txt b/app/_gitignore.txt
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/app/_gitignore.txt
@@ -0,0 +1 @@
+/build
diff --git a/app/build.gradle b/app/build.gradle
index f99fa5b..1cac91d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -28,4 +28,5 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.android.gms:play-services-auth:16.0.0'
implementation 'me.dm7.barcodescanner:zxing:1.9'
+ implementation 'androidx.cardview:cardview:1.0.0'
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 35f53fc..ac70b05 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -3,6 +3,7 @@
package="com.example.rotg">
+
-
+
+
+
+
+
+
+
+
diff --git a/app/src/main/java/com/example/rotg/Login_activity.java b/app/src/main/java/com/example/rotg/Login_activity.java
new file mode 100644
index 0000000..19d0687
--- /dev/null
+++ b/app/src/main/java/com/example/rotg/Login_activity.java
@@ -0,0 +1,32 @@
+package com.example.rotg;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+
+public class Login_activity extends AppCompatActivity {
+ private Button login;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_login_activity);
+
+ login=findViewById(R.id.login);
+ login.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ welcome();
+ }
+ });
+ }
+
+ private void welcome() {
+ Intent welintent=new Intent(getApplicationContext(),welcomeActivity.class);
+ startActivity(welintent);
+ }
+ }
+
diff --git a/app/src/main/java/com/example/rotg/MainActivity.java b/app/src/main/java/com/example/rotg/MainActivity.java
index 94ec6bf..f239877 100644
--- a/app/src/main/java/com/example/rotg/MainActivity.java
+++ b/app/src/main/java/com/example/rotg/MainActivity.java
@@ -18,11 +18,10 @@ protected void onCreate(Bundle savedInstanceState) {
@Override
public void run()
{
- Intent welcomeIntent = new Intent(MainActivity.this, welcomeActivity.class);
+ Intent welcomeIntent = new Intent(MainActivity.this, Login_activity.class);
startActivity(welcomeIntent);
finish();
}
- },SPLASH_TIME_OUT);
-
+ }, SPLASH_TIME_OUT);
}
}
diff --git a/app/src/main/java/com/example/rotg/acc_activity.java b/app/src/main/java/com/example/rotg/acc_activity.java
index c83e25d..4f3b8fa 100644
--- a/app/src/main/java/com/example/rotg/acc_activity.java
+++ b/app/src/main/java/com/example/rotg/acc_activity.java
@@ -3,12 +3,21 @@
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
+import android.widget.TextView;
public class acc_activity extends AppCompatActivity {
+ public static int rp;
+ TextView accPoints;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_acc_activity);
+
+ accPoints=findViewById(R.id.accPoints);
+
+ rp=getIntent().getIntExtra("points",rp);
+
+ accPoints.setText("Reward points = "+rp);
}
}
diff --git a/app/src/main/java/com/example/rotg/cashback.java b/app/src/main/java/com/example/rotg/cashback.java
new file mode 100644
index 0000000..4c2acee
--- /dev/null
+++ b/app/src/main/java/com/example/rotg/cashback.java
@@ -0,0 +1,14 @@
+package com.example.rotg;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+
+public class cashback extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_cashback);
+ }
+}
diff --git a/app/src/main/java/com/example/rotg/earphones.java b/app/src/main/java/com/example/rotg/earphones.java
new file mode 100644
index 0000000..7776cbc
--- /dev/null
+++ b/app/src/main/java/com/example/rotg/earphones.java
@@ -0,0 +1,14 @@
+package com.example.rotg;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+
+public class earphones extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_earphones);
+ }
+}
diff --git a/app/src/main/java/com/example/rotg/movie.java b/app/src/main/java/com/example/rotg/movie.java
new file mode 100644
index 0000000..c1ef257
--- /dev/null
+++ b/app/src/main/java/com/example/rotg/movie.java
@@ -0,0 +1,14 @@
+package com.example.rotg;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+
+public class movie extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_movie);
+ }
+}
diff --git a/app/src/main/java/com/example/rotg/qr_activity.java b/app/src/main/java/com/example/rotg/qr_activity.java
index dc582a6..81a819a 100644
--- a/app/src/main/java/com/example/rotg/qr_activity.java
+++ b/app/src/main/java/com/example/rotg/qr_activity.java
@@ -1,15 +1,21 @@
package com.example.rotg;
import androidx.appcompat.app.AppCompatActivity;
+import androidx.core.app.ActivityCompat;
+import androidx.core.content.ContextCompat;
+import android.Manifest;
import android.content.Intent;
+import android.content.pm.PackageManager;
import android.os.Bundle;
+import android.widget.Toast;
import com.google.zxing.Result;
import me.dm7.barcodescanner.zxing.ZXingScannerView;
public class qr_activity extends AppCompatActivity implements ZXingScannerView.ResultHandler {
+ int MY_PERMISSIONS_REQUEST_CAMERA=0;
ZXingScannerView Scannerview;
@Override
@@ -21,9 +27,72 @@ protected void onCreate(Bundle savedInstanceState) {
@Override
public void handleResult(Result result) {
- reward_activity.resultTextView.setText(result.getText());
- Intent rewardintent=new Intent(this,reward_activity.class);
- startActivity(rewardintent);
+ String qrtext=result.getText();//string to accept qr code
+ if(qrtext.equals("rctPqlm1x7GamWGhRAg+QrnfmuPVa5Jnqyh3G2b3XOc="))
+ {
+ acc_activity.rp=acc_activity.rp+50;
+ Toast.makeText(qr_activity.this,"50 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("pULFw7o4/pW3aIjE/3KOR/d8bpVzFWelxrH7oT9lYO8="))
+ {
+ acc_activity.rp=acc_activity.rp+100;
+ Toast.makeText(qr_activity.this,"100 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("+Fz7aM9M2u9xqIENqyBH8uHEuF3hB73fZs8EltPbnUI="))
+ {
+ acc_activity.rp=acc_activity.rp+150;
+ Toast.makeText(qr_activity.this,"150 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("ieWyA6ND5Vs9q1koUuRDmum0NM+SxdV4ozUTvkzA3WE="))
+ {
+ acc_activity.rp=acc_activity.rp+200;
+ Toast.makeText(qr_activity.this,"200 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("Ga/8mzhJnNA4ONk/j225Ksii2w8lrxXroW0u5lxYt7w="))
+ {
+ acc_activity.rp=acc_activity.rp+250;
+ Toast.makeText(qr_activity.this,"250 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("qvQmeM026ReEHtC3Ckj1/Mi+jn4lVvazkxZVoaH8YMM="))
+ {
+ acc_activity.rp=acc_activity.rp+300;
+ Toast.makeText(qr_activity.this,"300 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("y+FL6DdRfSlslZlGqzVb7Qe/Lkib241l7+Qa5PCtRAs="))
+ {
+ acc_activity.rp=acc_activity.rp+350;
+ Toast.makeText(qr_activity.this,"350 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("+p15WUwFmvSYQFNum8r0a32gu/GP9psWjByWoZNcM5U="))
+ {
+ acc_activity.rp=acc_activity.rp+400;
+ Toast.makeText(qr_activity.this,"400 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("PUHwXt6bdAmkMrGnbPHrWDQQsgfualous6kYsN382CQ="))
+ {
+ acc_activity.rp=acc_activity.rp+450;
+ Toast.makeText(qr_activity.this,"450 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else if(qrtext.equals("Fq6MtMvgtroOP4COS1q4k6byJGz7xD253AWZZvWxUtM="))
+ {
+ acc_activity.rp=acc_activity.rp+500;
+ Toast.makeText(qr_activity.this,"500 reward points added",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
+ else
+ {
+ Toast.makeText(qr_activity.this,"INVALID_ERROR",Toast.LENGTH_SHORT).show();
+ onBackPressed();
+ }
}
@Override
@@ -40,4 +109,15 @@ protected void onResume() {
Scannerview.setResultHandler(this);
Scannerview.startCamera();
}
+
+ @Override
+ protected void onPostResume() {
+ super.onPostResume();
+ if (ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {
+ ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA}, MY_PERMISSIONS_REQUEST_CAMERA);
+ }
+ Scannerview.setResultHandler(this);
+ Scannerview.startCamera();
+ }
+
}
diff --git a/app/src/main/java/com/example/rotg/reward_activity.java b/app/src/main/java/com/example/rotg/reward_activity.java
index 8a0040e..c14bc4f 100644
--- a/app/src/main/java/com/example/rotg/reward_activity.java
+++ b/app/src/main/java/com/example/rotg/reward_activity.java
@@ -13,6 +13,5 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_reward_activity);
- resultTextView=(TextView)findViewById(R.id.result_text);
}
}
diff --git a/app/src/main/java/com/example/rotg/rewardshomepage.java b/app/src/main/java/com/example/rotg/rewardshomepage.java
new file mode 100644
index 0000000..aca52cb
--- /dev/null
+++ b/app/src/main/java/com/example/rotg/rewardshomepage.java
@@ -0,0 +1,100 @@
+package com.example.rotg;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+
+public class rewardshomepage extends AppCompatActivity {
+ private Button rewards1;
+ private Button rewards2;
+ private Button rewards3;
+ private Button rewards4;
+ private Button rewards5;
+ private Button rewards6;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_rewardshomepage);
+ rewards1=findViewById(R.id.rewards1);
+ rewards1.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ openbottles();
+ }
+ });
+ rewards2=findViewById(R.id.rewards2);
+ rewards2.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ opencashback();
+ }
+ });
+ rewards3=findViewById(R.id.rewards3);
+ rewards3.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ openphone();
+ }
+ });
+ rewards4=findViewById(R.id.rewards4);
+ rewards4.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ openmovie();
+ }
+ });
+ rewards5=findViewById(R.id.rewards5);
+ rewards5.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ openwatch();
+ }
+ });
+ rewards6=findViewById(R.id.rewards6);
+ rewards6.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ openearp();
+ }
+ });
+ }
+ public void openbottles()
+ {
+ Intent bottle1intent=new Intent(this,reward_activity.class);
+ startActivity(bottle1intent);
+
+ }
+ public void opencashback()
+ {
+ Intent cashintent=new Intent(this,cashback.class);
+ startActivity(cashintent);
+ }
+ public void openphone()
+ {
+ Intent phoneintent=new Intent(this,smartphones.class);
+ startActivity(phoneintent);
+ }
+ public void openmovie()
+ {
+ Intent movieintent=new Intent(this,movie.class);
+ startActivity(movieintent);
+ }
+ public void openwatch()
+ {
+ Intent watchintent=new Intent(this,watches.class);
+ startActivity(watchintent);
+ }
+ public void openearp()
+ {
+ Intent earintent=new Intent(this,earphones.class);
+ startActivity(earintent);
+ }
+
+
+
+
+}
diff --git a/app/src/main/java/com/example/rotg/smartphones.java b/app/src/main/java/com/example/rotg/smartphones.java
new file mode 100644
index 0000000..c375e9c
--- /dev/null
+++ b/app/src/main/java/com/example/rotg/smartphones.java
@@ -0,0 +1,14 @@
+package com.example.rotg;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+
+public class smartphones extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_smartphones);
+ }
+}
diff --git a/app/src/main/java/com/example/rotg/watches.java b/app/src/main/java/com/example/rotg/watches.java
new file mode 100644
index 0000000..6a51547
--- /dev/null
+++ b/app/src/main/java/com/example/rotg/watches.java
@@ -0,0 +1,14 @@
+package com.example.rotg;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+
+public class watches extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_watches);
+ }
+}
diff --git a/app/src/main/java/com/example/rotg/welcomeActivity.java b/app/src/main/java/com/example/rotg/welcomeActivity.java
index 3780219..e7997cd 100644
--- a/app/src/main/java/com/example/rotg/welcomeActivity.java
+++ b/app/src/main/java/com/example/rotg/welcomeActivity.java
@@ -78,7 +78,7 @@ public void openqr(){
}
public void openreward(){
- Intent rewardintent=new Intent(this,reward_activity.class);
+ Intent rewardintent=new Intent(this,rewardshomepage.class);
startActivity(rewardintent);
}
diff --git a/app/src/main/res/drawable/bottle22.png b/app/src/main/res/drawable/bottle22.png
new file mode 100644
index 0000000..432fcc7
Binary files /dev/null and b/app/src/main/res/drawable/bottle22.png differ
diff --git a/app/src/main/res/drawable/bottlee4.png b/app/src/main/res/drawable/bottlee4.png
new file mode 100644
index 0000000..d85c51c
Binary files /dev/null and b/app/src/main/res/drawable/bottlee4.png differ
diff --git a/app/src/main/res/drawable/btn_bg.xml b/app/src/main/res/drawable/btn_bg.xml
new file mode 100644
index 0000000..9cef093
--- /dev/null
+++ b/app/src/main/res/drawable/btn_bg.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/cashback1n.png b/app/src/main/res/drawable/cashback1n.png
new file mode 100644
index 0000000..a068b8b
Binary files /dev/null and b/app/src/main/res/drawable/cashback1n.png differ
diff --git a/app/src/main/res/drawable/cashback2n.png b/app/src/main/res/drawable/cashback2n.png
new file mode 100644
index 0000000..26d5409
Binary files /dev/null and b/app/src/main/res/drawable/cashback2n.png differ
diff --git a/app/src/main/res/drawable/cashback3n.png b/app/src/main/res/drawable/cashback3n.png
new file mode 100644
index 0000000..20e7be8
Binary files /dev/null and b/app/src/main/res/drawable/cashback3n.png differ
diff --git a/app/src/main/res/drawable/cashback4n.png b/app/src/main/res/drawable/cashback4n.png
new file mode 100644
index 0000000..19072c0
Binary files /dev/null and b/app/src/main/res/drawable/cashback4n.png differ
diff --git a/app/src/main/res/drawable/copper1.png b/app/src/main/res/drawable/copper1.png
new file mode 100644
index 0000000..11702c1
Binary files /dev/null and b/app/src/main/res/drawable/copper1.png differ
diff --git a/app/src/main/res/drawable/ear1n.png b/app/src/main/res/drawable/ear1n.png
new file mode 100644
index 0000000..f458162
Binary files /dev/null and b/app/src/main/res/drawable/ear1n.png differ
diff --git a/app/src/main/res/drawable/ear2n.png b/app/src/main/res/drawable/ear2n.png
new file mode 100644
index 0000000..2689c48
Binary files /dev/null and b/app/src/main/res/drawable/ear2n.png differ
diff --git a/app/src/main/res/drawable/ear3n.png b/app/src/main/res/drawable/ear3n.png
new file mode 100644
index 0000000..00ed6f1
Binary files /dev/null and b/app/src/main/res/drawable/ear3n.png differ
diff --git a/app/src/main/res/drawable/ear4n.png b/app/src/main/res/drawable/ear4n.png
new file mode 100644
index 0000000..cfef67c
Binary files /dev/null and b/app/src/main/res/drawable/ear4n.png differ
diff --git a/app/src/main/res/drawable/et_bg.xml b/app/src/main/res/drawable/et_bg.xml
new file mode 100644
index 0000000..ecc3d74
--- /dev/null
+++ b/app/src/main/res/drawable/et_bg.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/grad_bg.xml b/app/src/main/res/drawable/grad_bg.xml
new file mode 100644
index 0000000..d7b1173
--- /dev/null
+++ b/app/src/main/res/drawable/grad_bg.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/movie1n.png b/app/src/main/res/drawable/movie1n.png
new file mode 100644
index 0000000..22fafd7
Binary files /dev/null and b/app/src/main/res/drawable/movie1n.png differ
diff --git a/app/src/main/res/drawable/movie2n.png b/app/src/main/res/drawable/movie2n.png
new file mode 100644
index 0000000..60d47e0
Binary files /dev/null and b/app/src/main/res/drawable/movie2n.png differ
diff --git a/app/src/main/res/drawable/movie3n.png b/app/src/main/res/drawable/movie3n.png
new file mode 100644
index 0000000..ae38c2d
Binary files /dev/null and b/app/src/main/res/drawable/movie3n.png differ
diff --git a/app/src/main/res/drawable/movie4n.png b/app/src/main/res/drawable/movie4n.png
new file mode 100644
index 0000000..10f41d2
Binary files /dev/null and b/app/src/main/res/drawable/movie4n.png differ
diff --git a/app/src/main/res/drawable/phone1n.png b/app/src/main/res/drawable/phone1n.png
new file mode 100644
index 0000000..8fa38cc
Binary files /dev/null and b/app/src/main/res/drawable/phone1n.png differ
diff --git a/app/src/main/res/drawable/phone2n.png b/app/src/main/res/drawable/phone2n.png
new file mode 100644
index 0000000..204482c
Binary files /dev/null and b/app/src/main/res/drawable/phone2n.png differ
diff --git a/app/src/main/res/drawable/phone3n.png b/app/src/main/res/drawable/phone3n.png
new file mode 100644
index 0000000..a982141
Binary files /dev/null and b/app/src/main/res/drawable/phone3n.png differ
diff --git a/app/src/main/res/drawable/phone4n.png b/app/src/main/res/drawable/phone4n.png
new file mode 100644
index 0000000..d80c5cb
Binary files /dev/null and b/app/src/main/res/drawable/phone4n.png differ
diff --git a/app/src/main/res/drawable/phone5n.png b/app/src/main/res/drawable/phone5n.png
new file mode 100644
index 0000000..adcd166
Binary files /dev/null and b/app/src/main/res/drawable/phone5n.png differ
diff --git a/app/src/main/res/drawable/phone6n.png b/app/src/main/res/drawable/phone6n.png
new file mode 100644
index 0000000..834917d
Binary files /dev/null and b/app/src/main/res/drawable/phone6n.png differ
diff --git a/app/src/main/res/drawable/reward1.png b/app/src/main/res/drawable/reward1.png
new file mode 100644
index 0000000..be11218
Binary files /dev/null and b/app/src/main/res/drawable/reward1.png differ
diff --git a/app/src/main/res/drawable/reward111.png b/app/src/main/res/drawable/reward111.png
new file mode 100644
index 0000000..096e51a
Binary files /dev/null and b/app/src/main/res/drawable/reward111.png differ
diff --git a/app/src/main/res/drawable/reward3p.png b/app/src/main/res/drawable/reward3p.png
new file mode 100644
index 0000000..08f8a33
Binary files /dev/null and b/app/src/main/res/drawable/reward3p.png differ
diff --git a/app/src/main/res/drawable/reward44p.png b/app/src/main/res/drawable/reward44p.png
new file mode 100644
index 0000000..9643d32
Binary files /dev/null and b/app/src/main/res/drawable/reward44p.png differ
diff --git a/app/src/main/res/drawable/reward4p.png b/app/src/main/res/drawable/reward4p.png
new file mode 100644
index 0000000..2267415
Binary files /dev/null and b/app/src/main/res/drawable/reward4p.png differ
diff --git a/app/src/main/res/drawable/reward555p.png b/app/src/main/res/drawable/reward555p.png
new file mode 100644
index 0000000..8a4430a
Binary files /dev/null and b/app/src/main/res/drawable/reward555p.png differ
diff --git a/app/src/main/res/drawable/reward55p.png b/app/src/main/res/drawable/reward55p.png
new file mode 100644
index 0000000..c2cb0a4
Binary files /dev/null and b/app/src/main/res/drawable/reward55p.png differ
diff --git a/app/src/main/res/drawable/reward5p.png b/app/src/main/res/drawable/reward5p.png
new file mode 100644
index 0000000..04c9f5f
Binary files /dev/null and b/app/src/main/res/drawable/reward5p.png differ
diff --git a/app/src/main/res/drawable/reward66p.png b/app/src/main/res/drawable/reward66p.png
new file mode 100644
index 0000000..4ec4914
Binary files /dev/null and b/app/src/main/res/drawable/reward66p.png differ
diff --git a/app/src/main/res/drawable/reward6p.png b/app/src/main/res/drawable/reward6p.png
new file mode 100644
index 0000000..fe630a2
Binary files /dev/null and b/app/src/main/res/drawable/reward6p.png differ
diff --git a/app/src/main/res/drawable/rewardd2.jpg b/app/src/main/res/drawable/rewardd2.jpg
new file mode 100644
index 0000000..b9cfdc6
Binary files /dev/null and b/app/src/main/res/drawable/rewardd2.jpg differ
diff --git a/app/src/main/res/drawable/rewardd22.jpg b/app/src/main/res/drawable/rewardd22.jpg
new file mode 100644
index 0000000..3ff8075
Binary files /dev/null and b/app/src/main/res/drawable/rewardd22.jpg differ
diff --git a/app/src/main/res/drawable/rewardd222.png b/app/src/main/res/drawable/rewardd222.png
new file mode 100644
index 0000000..daeb96e
Binary files /dev/null and b/app/src/main/res/drawable/rewardd222.png differ
diff --git a/app/src/main/res/drawable/rewardss3.png b/app/src/main/res/drawable/rewardss3.png
new file mode 100644
index 0000000..0423b88
Binary files /dev/null and b/app/src/main/res/drawable/rewardss3.png differ
diff --git a/app/src/main/res/drawable/rotg.png b/app/src/main/res/drawable/rotg.png
new file mode 100644
index 0000000..d03c63e
Binary files /dev/null and b/app/src/main/res/drawable/rotg.png differ
diff --git a/app/src/main/res/drawable/rotg1.png b/app/src/main/res/drawable/rotg1.png
new file mode 100644
index 0000000..4a79a5c
Binary files /dev/null and b/app/src/main/res/drawable/rotg1.png differ
diff --git a/app/src/main/res/drawable/watch1n.png b/app/src/main/res/drawable/watch1n.png
new file mode 100644
index 0000000..aa74fc2
Binary files /dev/null and b/app/src/main/res/drawable/watch1n.png differ
diff --git a/app/src/main/res/drawable/watch2n.png b/app/src/main/res/drawable/watch2n.png
new file mode 100644
index 0000000..8ba5163
Binary files /dev/null and b/app/src/main/res/drawable/watch2n.png differ
diff --git a/app/src/main/res/drawable/watch3n.png b/app/src/main/res/drawable/watch3n.png
new file mode 100644
index 0000000..dd5f71f
Binary files /dev/null and b/app/src/main/res/drawable/watch3n.png differ
diff --git a/app/src/main/res/drawable/watch4n.png b/app/src/main/res/drawable/watch4n.png
new file mode 100644
index 0000000..f4dfb12
Binary files /dev/null and b/app/src/main/res/drawable/watch4n.png differ
diff --git a/app/src/main/res/layout/activity_acc_activity.xml b/app/src/main/res/layout/activity_acc_activity.xml
index f5d673e..1ab7568 100644
--- a/app/src/main/res/layout/activity_acc_activity.xml
+++ b/app/src/main/res/layout/activity_acc_activity.xml
@@ -1,9 +1,42 @@
-
-
\ No newline at end of file
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_cashback.xml b/app/src/main/res/layout/activity_cashback.xml
new file mode 100644
index 0000000..368070e
--- /dev/null
+++ b/app/src/main/res/layout/activity_cashback.xml
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_earphones.xml b/app/src/main/res/layout/activity_earphones.xml
new file mode 100644
index 0000000..f258cf0
--- /dev/null
+++ b/app/src/main/res/layout/activity_earphones.xml
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_login_activity.xml b/app/src/main/res/layout/activity_login_activity.xml
new file mode 100644
index 0000000..6784adf
--- /dev/null
+++ b/app/src/main/res/layout/activity_login_activity.xml
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index dd05048..03a2bc9 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/colorPrimary"
+ android:animateLayoutChanges="true"
+ android:background="@drawable/grad_bg"
android:gravity="center"
android:orientation="vertical"
tools:context=".welcomeActivity">
@@ -38,6 +39,5 @@
android:textSize="20sp" />
-
diff --git a/app/src/main/res/layout/activity_movie.xml b/app/src/main/res/layout/activity_movie.xml
new file mode 100644
index 0000000..d0c753c
--- /dev/null
+++ b/app/src/main/res/layout/activity_movie.xml
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_reward_activity.xml b/app/src/main/res/layout/activity_reward_activity.xml
index e6b60ab..9c9a677 100644
--- a/app/src/main/res/layout/activity_reward_activity.xml
+++ b/app/src/main/res/layout/activity_reward_activity.xml
@@ -4,24 +4,184 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:gravity="center"
android:orientation="vertical"
+ android:animateLayoutChanges="true"
+ android:background="@drawable/grad_bg"
+ android:weightSum="10"
tools:context=".reward_activity">
-
-
-
-
+
+
+
+ android:layout_height="0dp"
+ android:padding="14dp">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
diff --git a/app/src/main/res/layout/activity_rewardshomepage.xml b/app/src/main/res/layout/activity_rewardshomepage.xml
new file mode 100644
index 0000000..d75effc
--- /dev/null
+++ b/app/src/main/res/layout/activity_rewardshomepage.xml
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_smartphones.xml b/app/src/main/res/layout/activity_smartphones.xml
new file mode 100644
index 0000000..c45fcdb
--- /dev/null
+++ b/app/src/main/res/layout/activity_smartphones.xml
@@ -0,0 +1,197 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_watches.xml b/app/src/main/res/layout/activity_watches.xml
new file mode 100644
index 0000000..53a505f
--- /dev/null
+++ b/app/src/main/res/layout/activity_watches.xml
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_welcome.xml b/app/src/main/res/layout/activity_welcome.xml
index 5052033..e232a61 100644
--- a/app/src/main/res/layout/activity_welcome.xml
+++ b/app/src/main/res/layout/activity_welcome.xml
@@ -3,7 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/colorAccent"
+ android:animateLayoutChanges="true"
+ android:background="@drawable/grad_bg"
tools:context=".MainActivity">