diff --git a/OnDemandDelivery-customer/.gitignore b/OnDemandDelivery-customer/.gitignore new file mode 100644 index 0000000..39fb081 --- /dev/null +++ b/OnDemandDelivery-customer/.gitignore @@ -0,0 +1,9 @@ +*.iml +.gradle +/local.properties +/.idea/workspace.xml +/.idea/libraries +.DS_Store +/build +/captures +.externalNativeBuild diff --git a/OnDemandDelivery-customer/.idea/compiler.xml b/OnDemandDelivery-customer/.idea/compiler.xml new file mode 100644 index 0000000..96cc43e --- /dev/null +++ b/OnDemandDelivery-customer/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/copyright/profiles_settings.xml b/OnDemandDelivery-customer/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..e7bedf3 --- /dev/null +++ b/OnDemandDelivery-customer/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/dictionaries/selva.xml b/OnDemandDelivery-customer/.idea/dictionaries/selva.xml new file mode 100644 index 0000000..1e233e1 --- /dev/null +++ b/OnDemandDelivery-customer/.idea/dictionaries/selva.xml @@ -0,0 +1,7 @@ + + + + teliver + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/gradle.xml b/OnDemandDelivery-customer/.idea/gradle.xml new file mode 100644 index 0000000..7ac24c7 --- /dev/null +++ b/OnDemandDelivery-customer/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/inspectionProfiles/Project_Default.xml b/OnDemandDelivery-customer/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..a5308d8 --- /dev/null +++ b/OnDemandDelivery-customer/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,20 @@ + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/inspectionProfiles/profiles_settings.xml b/OnDemandDelivery-customer/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..3b31283 --- /dev/null +++ b/OnDemandDelivery-customer/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/misc.xml b/OnDemandDelivery-customer/.idea/misc.xml new file mode 100644 index 0000000..092f11f --- /dev/null +++ b/OnDemandDelivery-customer/.idea/misc.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/modules.xml b/OnDemandDelivery-customer/.idea/modules.xml new file mode 100644 index 0000000..c664ef0 --- /dev/null +++ b/OnDemandDelivery-customer/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/.idea/runConfigurations.xml b/OnDemandDelivery-customer/.idea/runConfigurations.xml new file mode 100644 index 0000000..7f68460 --- /dev/null +++ b/OnDemandDelivery-customer/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/app/.gitignore b/OnDemandDelivery-customer/app/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/OnDemandDelivery-customer/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/OnDemandDelivery-customer/app/build.gradle b/OnDemandDelivery-customer/app/build.gradle new file mode 100644 index 0000000..f5edbbf --- /dev/null +++ b/OnDemandDelivery-customer/app/build.gradle @@ -0,0 +1,35 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 25 + buildToolsVersion "25.0.3" + defaultConfig { + applicationId "com.customer" + minSdkVersion 14 + targetSdkVersion 25 + versionCode 1 + versionName "1.0" + multiDexEnabled true + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } + +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:25.3.1' + compile 'com.android.support.constraint:constraint-layout:1.0.2' + compile 'com.android.support:design:25.3.1' + compile 'com.android.support:support-v4:25.3.1' + compile 'com.android.support:multidex:1.0.1' + compile 'com.android.support:cardview-v7:25.3.1' + compile 'com.github.bumptech.glide:glide:3.7.0' + compile 'com.teliver.sdk:TeliverSdk:1.0.7' +} +apply plugin: 'com.google.gms.google-services' diff --git a/OnDemandDelivery-customer/app/proguard-rules.pro b/OnDemandDelivery-customer/app/proguard-rules.pro new file mode 100644 index 0000000..06b93bf --- /dev/null +++ b/OnDemandDelivery-customer/app/proguard-rules.pro @@ -0,0 +1,25 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /home/selva/Android/Sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile diff --git a/OnDemandDelivery-customer/app/src/main/AndroidManifest.xml b/OnDemandDelivery-customer/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..4b066dd --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/AndroidManifest.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/font_rg.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/font_rg.ttf new file mode 100755 index 0000000..adbfc46 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/font_rg.ttf differ diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_bold.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_bold.ttf new file mode 100755 index 0000000..aaf374d Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_bold.ttf differ diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_light.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_light.ttf new file mode 100755 index 0000000..664e1b2 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_light.ttf differ diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_medium.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_medium.ttf new file mode 100755 index 0000000..aa00de0 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_medium.ttf differ diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/AdapterCartItems.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/AdapterCartItems.java new file mode 100644 index 0000000..ca6db3a --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/AdapterCartItems.java @@ -0,0 +1,60 @@ +package com.customer; + +import android.support.v7.widget.RecyclerView; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.ImageView; +import android.widget.TextView; + +import java.util.ArrayList; + + +public class AdapterCartItems extends RecyclerView.Adapter { + + private ArrayList list = new ArrayList<>(); + + + @Override + public AdapterCartItems.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { + View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.layout_cart_items, parent, false); + return new ViewHolder(view); + } + + @Override + public void onBindViewHolder(final AdapterCartItems.ViewHolder holder, final int position) { + Model model = list.get(position); + holder.txtName.setText(model.getName()); + holder.txtItemPrice.setText(model.getItemPrice()); + holder.txtFinalPrice.setText("₹" + model.getFinalPrice()); + holder.img.setImageResource(model.getIcon()); + holder.txtQuantity.setText(model.getQuantity()); + } + + @Override + public int getItemCount() { + return list.size(); + } + + public void setData(ArrayList listCartItems) { + this.list = listCartItems; + + } + + + class ViewHolder extends RecyclerView.ViewHolder { + + private TextView txtName, txtFinalPrice, txtItemPrice, txtQuantity; + + private ImageView img; + + private ViewHolder(View itemView) { + super(itemView); + txtName = (TextView) itemView.findViewById(R.id.txtName); + txtItemPrice = (TextView) itemView.findViewById(R.id.txtItemPrice); + txtFinalPrice = (TextView) itemView.findViewById(R.id.txtFinalPrice); + img = (ImageView) itemView.findViewById(R.id.imgFirstItem); + txtQuantity = (TextView) itemView.findViewById(R.id.txtQuantity); + } + } +} \ No newline at end of file diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Application.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Application.java new file mode 100644 index 0000000..ce5a2ec --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Application.java @@ -0,0 +1,46 @@ +package com.customer; + +import android.content.SharedPreferences; +import android.support.multidex.MultiDexApplication; + +import com.teliver.sdk.core.Teliver; + +public class Application extends MultiDexApplication { + + + private SharedPreferences sharedPreferences; + + private SharedPreferences.Editor editor; + + @Override + public void onCreate() { + super.onCreate(); + Teliver.init(this,"your_teliver_key"); + sharedPreferences = getSharedPreferences(getString(R.string.app_name), MODE_PRIVATE); + editor = sharedPreferences.edit(); + editor.apply(); + } + + public void storeStringInPref(String key, String value) { + editor.putString(key, value); + editor.commit(); + } + + public void storeBooleanInPref(String key, boolean value) { + editor.putBoolean(key, value); + editor.commit(); + } + + public String getStringInPref(String key) { + return sharedPreferences.getString(key, null); + } + + public boolean getBooleanInPef(String key) { + return sharedPreferences.getBoolean(key, false); + } + + public void deletePreference() { + editor.clear(); + editor.commit(); + } +} diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Constants.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Constants.java new file mode 100644 index 0000000..0545a26 --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Constants.java @@ -0,0 +1,13 @@ +package com.customer; + + +public class Constants { + + public static final String STEP_ONE = "step_one",STEP_TWO = "step_two",STEP_THREE="step_three", + STEP_FOUR="step_four",STEP_FIVE="step_five",FIRST_TIME="first_time",TRACKING_ID = "tracking_id"; + + public static final int COARSE_LOCATION_PERMISSION = 4,SHOW_GPS_DIALOG = 2; + + public static final String STEP_ONE_RUNNING = "step_one_running",STEP_TWO_RUNNING = "step_two_running", + STEP_THREE_RUNNING= "step_three_running",STEP_FOUR_RUNNING = "step_three_running"; +} diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/FirebaseMessaging.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/FirebaseMessaging.java new file mode 100644 index 0000000..16955dc --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/FirebaseMessaging.java @@ -0,0 +1,81 @@ +package com.customer; + +import android.app.Notification; +import android.app.NotificationManager; +import android.app.PendingIntent; +import android.content.Context; +import android.content.Intent; +import android.support.v4.content.LocalBroadcastManager; +import android.support.v7.app.NotificationCompat; +import android.util.Log; + +import com.customer.activities.ActivityHome; +import com.google.firebase.messaging.FirebaseMessagingService; +import com.google.firebase.messaging.RemoteMessage; +import com.google.gson.GsonBuilder; +import com.teliver.sdk.core.Teliver; +import com.teliver.sdk.models.NotificationData; + +import java.util.Map; + + +public class FirebaseMessaging extends FirebaseMessagingService { + + private Application application; + + @Override + public void onMessageReceived(RemoteMessage remoteMessage) { + super.onMessageReceived(remoteMessage); + + Log.d("TELIVER::", "onMessageReceived: PUSH TRy == " +remoteMessage.toString()); + try { + if (Teliver.isTeliverPush(remoteMessage)) { + Map pushData = remoteMessage.getData(); + final NotificationData data = new GsonBuilder().create().fromJson(pushData.get("description"), NotificationData.class); + Log.d("TELIVER::", "onMessageReceived: " + "tracking id ==" + data.getTrackingID() + + "commnad ==" + data.getCommand() + "message == " + data.getMessage()); + application = (Application) getApplicationContext(); + application.storeStringInPref(Constants.TRACKING_ID, data.getTrackingID()); + Intent intent = new Intent(this, ActivityHome.class); + intent.putExtra("msg", data.getMessage()); + intent.setAction("message"); + LocalBroadcastManager.getInstance(this).sendBroadcast(intent); + if (data.getMessage().equalsIgnoreCase("2")) + sendPushNotification(data, getString(R.string.txtOutToDelivery)); + else if (data.getMessage().equalsIgnoreCase("1")) + sendPushNotification(data, getString(R.string.txtNearDoorPush)); + else if (data.getMessage().equalsIgnoreCase("3")) + sendPushNotification(data, getString(R.string.txtDeliveredPush)); + else sendPushNotification(data,data.getMessage()); + } + } catch (Exception e) { + e.printStackTrace(); + } + } + + private void sendPushNotification(NotificationData data, String pushMessage) { + NotificationCompat.Builder notification = new NotificationCompat.Builder(this); + notification.setContentTitle("Teliver"); + notification.setContentText(pushMessage); + notification.setSmallIcon(R.drawable.ic_scooter); + notification.setLargeIcon(Utils.getBitmapIcon(this)); + + notification.setStyle(new NotificationCompat.BigTextStyle().bigText(pushMessage).setBigContentTitle("Teliver")); + Intent intent = new Intent(this, ActivityHome.class); + intent.putExtra("msg", data.getMessage()); + intent.putExtra("tracking_id", data.getTrackingID()); + intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK); + + PendingIntent pendingIntent = PendingIntent.getActivity(this, 1, intent, PendingIntent.FLAG_UPDATE_CURRENT); + + notification.setContentIntent(pendingIntent); + notification.setAutoCancel(true); + notification.setPriority(Notification.PRIORITY_MAX); + notification.setDefaults(Notification.DEFAULT_ALL); + + NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); + notificationManager.notify(1, notification.build()); + } +} + + diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Model.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Model.java new file mode 100644 index 0000000..b65300b --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Model.java @@ -0,0 +1,42 @@ +package com.customer; + + +public class Model { + + private String name, itemPrice, finalPrice,quantity; + + private int icon; + + int getIcon() { + return icon; + } + + String getQuantity() { + return quantity; + } + + public Model(String name, String quantity, String itemPrice, String finalPrice, int icon) { + this.name = name; + this.itemPrice = itemPrice; + this.finalPrice = finalPrice; + this.icon = icon; + + this.quantity = quantity; + + } + + public String getName() { + return name; + } + + + String getItemPrice() { + return itemPrice; + } + + + String getFinalPrice() { + return finalPrice; + } + +} diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Utils.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Utils.java new file mode 100644 index 0000000..e76929b --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Utils.java @@ -0,0 +1,71 @@ +package com.customer; + +import android.app.Activity; +import android.content.Context; +import android.content.pm.PackageManager; +import android.content.res.TypedArray; +import android.graphics.Bitmap; +import android.graphics.Typeface; +import android.os.Build; +import android.support.v4.app.ActivityCompat; +import android.support.v4.content.ContextCompat; +import android.util.AttributeSet; +import android.widget.TextView; + +import com.bumptech.glide.Glide; + +public class Utils { + public void init(TextView txtView, Context context, AttributeSet attrs) { + try { + Typeface typeface = getCustomFont(context, attrs); + if (typeface != null) + txtView.setTypeface(typeface); + } catch (Exception e) { + e.printStackTrace(); + } + } + + private Typeface getCustomFont(Context context, AttributeSet attrs) { + Typeface typeface = null; + try { + TypedArray typedArray = context.obtainStyledAttributes(attrs, + R.styleable.CustomWidget); + for (int i = 0, count = typedArray.getIndexCount(); i < count; i++) { + int attribute = typedArray.getIndex(i); + if (attribute == R.styleable.CustomWidget_font_name) { + typeface = Typeface.createFromAsset(context.getResources() + .getAssets(), typedArray.getString(attribute)); + } + } + typedArray.recycle(); + } catch (Exception e) { + e.printStackTrace(); + } + return typeface; + } + + + public static boolean checkPermission(Activity context) { + if (Build.VERSION.SDK_INT >= 23) { + if (ContextCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED + && ContextCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) { + if (ActivityCompat.shouldShowRequestPermissionRationale(context, android.Manifest.permission.ACCESS_COARSE_LOCATION)) + ActivityCompat.requestPermissions(context, new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}, + 4); + else { + ActivityCompat.requestPermissions(context, new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}, 5); + } + } else return true; + } else return true; + return false; + } + + public static Bitmap getBitmapIcon(Context context) { + try { + return Glide.with(context).load(R.drawable.ic_notification_icon). + asBitmap().into(144, 144).get(); + } catch (Exception e) { + return null; + } +} +} diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityHome.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityHome.java new file mode 100644 index 0000000..34a1816 --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityHome.java @@ -0,0 +1,385 @@ +package com.customer.activities; + +import android.Manifest; +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.DialogInterface; +import android.content.Intent; +import android.content.IntentFilter; +import android.content.pm.PackageManager; +import android.location.Location; +import android.os.Build; +import android.os.Bundle; +import android.support.annotation.Nullable; +import android.support.annotation.RequiresApi; +import android.support.v4.app.ActivityCompat; +import android.support.v4.content.ContextCompat; +import android.support.v4.content.LocalBroadcastManager; +import android.support.v7.app.AlertDialog; +import android.support.v7.app.AppCompatActivity; +import android.support.v7.widget.Toolbar; +import android.util.Log; +import android.view.Gravity; +import android.view.KeyEvent; +import android.view.View; +import android.view.Window; +import android.view.WindowManager; +import android.widget.ImageView; +import android.widget.LinearLayout; +import android.widget.RelativeLayout; +import android.widget.TextView; + +import com.customer.Application; +import com.customer.Constants; +import com.customer.R; +import com.google.android.gms.common.api.GoogleApiClient; +import com.google.android.gms.location.LocationServices; +import com.google.android.gms.maps.CameraUpdateFactory; +import com.google.android.gms.maps.GoogleMap; +import com.google.android.gms.maps.OnMapReadyCallback; +import com.google.android.gms.maps.SupportMapFragment; +import com.google.android.gms.maps.model.BitmapDescriptorFactory; +import com.google.android.gms.maps.model.LatLng; +import com.google.android.gms.maps.model.MarkerOptions; +import com.teliver.sdk.core.Teliver; +import com.teliver.sdk.core.TrackingListener; +import com.teliver.sdk.models.MarkerOption; +import com.teliver.sdk.models.TLocation; +import com.teliver.sdk.models.TrackingBuilder; + + +public class ActivityHome extends AppCompatActivity implements View.OnClickListener, OnMapReadyCallback, GoogleApiClient.ConnectionCallbacks { + + + private Application application; + + private TextView txtPayment, txtInKitchen, txtOnRoute, txtDeliverHint, txtDelivered; + + private ImageView imgOne, imgTwo, imgThree, imgFour, imgViewOne, imgViewtwo, imgViewThree; + + private GoogleMap googleMap; + + private GoogleApiClient googleApiClient; + + private LinearLayout layoutDelivered; + + private RelativeLayout layoutTracking; + + private AlertDialog dialog; + + @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_home); + LocalBroadcastManager.getInstance(this).registerReceiver(receiver, new IntentFilter("message")); + } + + @Override + protected void onPostCreate(@Nullable Bundle savedInstanceState) { + super.onPostCreate(savedInstanceState); + Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); + setSupportActionBar(toolbar); + getSupportActionBar().setDisplayShowHomeEnabled(true); + getSupportActionBar().setDisplayHomeAsUpEnabled(true); + + toolbar.setNavigationOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + onBackPressed(); + } + }); + + SupportMapFragment supportMapFragment = (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.mapView); + supportMapFragment.getMapAsync(this); + AlertDialog.Builder alert = new AlertDialog.Builder(this); + View view = getLayoutInflater().inflate(R.layout.layout_tracking_steps, null); + view.setPadding(8, 0, 8, 0); + + txtPayment = (TextView) view.findViewById(R.id.txtpayment); + txtInKitchen = (TextView) view.findViewById(R.id.txtInKitchen); + txtOnRoute = (TextView) view.findViewById(R.id.initTeliver); + txtOnRoute.setOnClickListener(this); + txtDeliverHint = (TextView) view.findViewById(R.id.txtDeliveryHint); + txtDelivered = (TextView) view.findViewById(R.id.txtDelivered); + imgOne = (ImageView) view.findViewById(R.id.imgOne); + imgTwo = (ImageView) view.findViewById(R.id.imgTwo); + imgThree = (ImageView) view.findViewById(R.id.imgThree); + imgFour = (ImageView) view.findViewById(R.id.imgFour); + imgViewOne = (ImageView) view.findViewById(R.id.viewOne); + imgViewtwo = (ImageView) view.findViewById(R.id.viewTwo); + imgViewThree = (ImageView) view.findViewById(R.id.viewThree); + layoutDelivered = (LinearLayout) view.findViewById(R.id.layoutdelivered); + layoutTracking = (RelativeLayout) view.findViewById(R.id.layoutTracker); + + alert.setView(view); + + application = (Application) getApplicationContext(); + alert.setCancelable(false); + dialog = alert.create(); + dialog.setOnKeyListener(new DialogInterface.OnKeyListener() { + @Override + public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { + if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP) + finish(); + return false; + } + }); + + Window window = dialog.getWindow(); + WindowManager.LayoutParams params = window.getAttributes(); + + params.gravity = Gravity.BOTTOM; + params.flags &= ~WindowManager.LayoutParams.FLAG_DIM_BEHIND; + window.setAttributes(params); + + + dialog.show(); + + Intent intent = getIntent(); + + if (intent != null) { + String msg = getIntent().getStringExtra("msg"); + setStates(msg); + } + txtOnRoute.setEnabled(false); + } + + private void maintainState() { + if (application.getBooleanInPef(Constants.STEP_ONE)) { + txtPayment.setTextColor(ContextCompat.getColor(this, R.color.colorGreen)); + setCompletedIcon(imgOne, imgViewOne); + } + if (application.getBooleanInPef(Constants.STEP_TWO)) { + setCompletedText(txtPayment, txtInKitchen, imgTwo, imgViewtwo); + setCompletedText(txtPayment, txtDeliverHint, imgTwo, imgViewtwo); + setCompletedIcon(imgTwo, imgViewtwo); + txtOnRoute.setEnabled(true); + } + if (application.getBooleanInPef(Constants.STEP_THREE)) { + setCompletedText(txtInKitchen, txtOnRoute, imgThree, imgViewThree); + setCompletedText(txtDeliverHint, txtOnRoute, imgThree, imgViewThree); + setCompletedIcon(imgThree, imgViewThree); + } + if (application.getBooleanInPef(Constants.STEP_FOUR)) { + storeStepCompletion(Constants.STEP_FOUR); + layoutTracking.setVisibility(View.GONE); + layoutDelivered.setVisibility(View.VISIBLE); + Window window = dialog.getWindow(); + WindowManager.LayoutParams params = window.getAttributes(); + params.gravity = Gravity.CENTER; + window.setAttributes(params); + } + if (application.getBooleanInPef(Constants.STEP_ONE_RUNNING)) { + txtPayment.setTextColor(ContextCompat.getColor(this, R.color.colorOrange)); + changeTintMode(imgOne, imgViewOne); + } + if (application.getBooleanInPef(Constants.STEP_TWO_RUNNING)) { + txtInKitchen.setTextColor(ContextCompat.getColor(this, R.color.colorOrange)); + txtDeliverHint.setTextColor(ContextCompat.getColor(this, R.color.colorOrange)); + changeTintMode(imgTwo, imgViewtwo); + } + if (application.getBooleanInPef(Constants.STEP_THREE_RUNNING)) { + changeTintMode(imgThree, imgViewThree); + txtOnRoute.setTextColor(ContextCompat.getColor(this, R.color.colorOrange)); + } + } + + private void setCompletedText(TextView txtNow, TextView txtNext, ImageView img, ImageView imgViewLine) { + txtNow.setTextColor(ContextCompat.getColor(this, R.color.colorGreen)); + txtNext.setTextColor(ContextCompat.getColor(this, R.color.colorGreen)); + img.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen)); + imgViewLine.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen)); + } + + private void setCompletedIcon(ImageView img, ImageView imgViewLine) { + img.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen)); + imgViewLine.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen)); + } + + private void changeTintMode(ImageView imgStatus, ImageView imgView) { + imgStatus.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange)); + imgView.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange)); + } + + public void setStates(String message) { + if (message != null) { + switch (message) { + case "1": + txtPayment.setTextColor(ContextCompat.getColor(this, R.color.colorGreen)); + setCompletedIcon(imgOne, imgViewOne); + application.storeBooleanInPref(Constants.STEP_ONE_RUNNING, false); + changeColors(txtPayment, txtInKitchen, imgTwo, imgViewtwo); + changeColors(txtPayment, txtDeliverHint, imgTwo, imgViewtwo); + changeTintMode(imgTwo, imgViewtwo); + storeStepCompletion(Constants.STEP_ONE); + storeStepCompletion(Constants.STEP_TWO_RUNNING); + setCompletedIcon(imgOne, imgViewOne); + break; + case "2": + txtOnRoute.setEnabled(true); + changeColors(txtInKitchen, txtOnRoute, imgThree, imgViewThree); + changeColors(txtDeliverHint, txtOnRoute, imgThree, imgViewThree); + changeTintMode(imgThree, imgViewThree); + storeStepCompletion(Constants.STEP_TWO); + storeStepCompletion(Constants.STEP_THREE_RUNNING); + application.storeBooleanInPref(Constants.STEP_TWO_RUNNING, false); + setCompletedIcon(imgTwo, imgViewtwo); + break; + case "3": + setCompletedIcon(imgThree, imgViewThree); + storeStepCompletion(Constants.STEP_THREE); + application.storeBooleanInPref(Constants.STEP_THREE_RUNNING, false); + storeStepCompletion(Constants.STEP_FOUR); + layoutTracking.setVisibility(View.GONE); + layoutDelivered.setVisibility(View.VISIBLE); + Window window = dialog.getWindow(); + WindowManager.LayoutParams params = window.getAttributes(); + params.gravity = Gravity.CENTER; + window.setAttributes(params); + break; + default: + break; + } + } + } + + + private void changeColors(TextView txtView, TextView txtNext, ImageView img, ImageView imgView) { + txtView.setTextColor(ContextCompat.getColor(this, R.color.colorGreen)); + txtNext.setTextColor(ContextCompat.getColor(this, R.color.colorOrange)); + img.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange)); + imgView.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange)); + + } + + private void storeStepCompletion(String step) { + application.storeBooleanInPref(step, true); + } + + public void startTracking(String trackingID) { + + TrackingBuilder builder = new TrackingBuilder(new MarkerOption(trackingID)).withListener(new TrackingListener() { + @Override + public void onTrackingStarted(String trackingId) { + Log.d("TELIVER::", "onTrackingStarted: " + trackingId); + } + + @Override + public void onLocationUpdate(String trackingId, TLocation location) { + Log.d("TELIVER::", "onLocationUpdate: " + location.getLatitude() + location.getLongitude()); + } + + @Override + public void onTrackingEnded(String trackingId) { + Log.d("TELIVER::", "onTrackingEnded: " + trackingId); + } + + @Override + public void onTrackingError(String reason) { + Log.d("TELIVER::", "onTrackingError: " + reason); + } + }); + Teliver.startTracking(builder.build()); + } + + @Override + public void onClick(View v) { + switch (v.getId()) { + case R.id.initTeliver: + String trackingId = application.getStringInPref(Constants.TRACKING_ID); + startTracking(trackingId); + break; + } + } + + @Override + public void onMapReady(GoogleMap googleMap) { + this.googleMap = googleMap; + if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) { + return; + } + buildGoogleApiClient(); + } + + private void buildGoogleApiClient() { + googleApiClient = new GoogleApiClient.Builder(this) + .addApi(LocationServices.API) + .addConnectionCallbacks(this) + .build(); + googleApiClient.connect(); + } + + @Override + public void onConnected(@Nullable Bundle bundle) { + if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) { + return; + } + Location location = LocationServices.FusedLocationApi.getLastLocation(googleApiClient); + if (location != null) { + LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude()); + googleMap.addMarker(new MarkerOptions().icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_RED)).position(latLng)); + googleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 14)); + } + } + + @Override + public void onConnectionSuspended(int i) { + + } + + + @Override + public void onBackPressed() { + super.onBackPressed(); + + } + + @Override + protected void onResume() { + maintainState(); + if (application.getBooleanInPef(Constants.STEP_FOUR)) + application.deletePreference(); + if (dialog != null) + dialog.show(); + super.onResume(); + } + + private BroadcastReceiver receiver = new BroadcastReceiver() { + @Override + public void onReceive(Context context, Intent intent) { + setStates(intent.getStringExtra("msg")); + } + }; + + @Override + protected void onPause() { + if (dialog != null) + dialog.dismiss(); + super.onPause(); + } + + @Override + protected void onDestroy() { + if (dialog != null) + dialog.dismiss(); + super.onDestroy(); + } +} + + + + + + + + + + + + + + + + + diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityTracking.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityTracking.java new file mode 100644 index 0000000..f2bdd8e --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityTracking.java @@ -0,0 +1,151 @@ +package com.customer.activities; + +import android.content.Intent; +import android.content.pm.PackageManager; +import android.graphics.PorterDuff; +import android.graphics.drawable.Drawable; +import android.os.Bundle; +import android.support.annotation.NonNull; +import android.support.annotation.Nullable; +import android.support.v4.content.ContextCompat; +import android.support.v7.app.AppCompatActivity; +import android.support.v7.widget.LinearLayoutManager; +import android.support.v7.widget.RecyclerView; +import android.support.v7.widget.Toolbar; +import android.view.View; +import android.widget.Toast; + +import com.customer.AdapterCartItems; +import com.customer.Application; +import com.customer.Constants; +import com.customer.Model; +import com.customer.R; +import com.customer.Utils; +import com.google.android.gms.common.api.GoogleApiClient; +import com.google.android.gms.common.api.PendingResult; +import com.google.android.gms.common.api.ResultCallback; +import com.google.android.gms.common.api.Status; +import com.google.android.gms.location.LocationRequest; +import com.google.android.gms.location.LocationServices; +import com.google.android.gms.location.LocationSettingsRequest; +import com.google.android.gms.location.LocationSettingsResult; +import com.google.android.gms.location.LocationSettingsStatusCodes; +import com.teliver.sdk.core.TLog; +import com.teliver.sdk.core.Teliver; +import com.teliver.sdk.models.UserBuilder; + +import java.util.ArrayList; + +public class ActivityTracking extends AppCompatActivity { + + private String username = "shivakumar",driverName = "driver_4"; + + private Application application; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_tracking); + TLog.setVisible(true); + } + + + @Override + protected void onPostCreate(@Nullable Bundle savedInstanceState) { + super.onPostCreate(savedInstanceState); + application = (Application) getApplication(); + Toolbar toolbar = (Toolbar) findViewById(R.id.toolbarCart); + setSupportActionBar(toolbar); + getSupportActionBar().setDisplayHomeAsUpEnabled(true); + getSupportActionBar().setDisplayShowHomeEnabled(true); + toolbar.setNavigationOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + onBackPressed(); + } + }); + Drawable drawable = toolbar.getNavigationIcon(); + drawable.setColorFilter(ContextCompat.getColor(this, R.color.colorWhite), PorterDuff.Mode.SRC_ATOP); + + RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView); + recyclerView.setLayoutManager(new LinearLayoutManager(this)); + ArrayList listCartItems = new ArrayList<>(); + AdapterCartItems adapterCartItems = new AdapterCartItems(); + + listCartItems.add(new Model("Veg hot garlic Sauce Momo", "1", "149.00", "149.00", R.drawable.ic_veg)); + listCartItems.add(new Model("Veg Spicy Mayo Tossed Momo", "2", "170.00", "340.00", R.drawable.ic_veg)); + listCartItems.add(new Model("Veg Tossed Momo", "2", "170.00", "340.00", R.drawable.ic_veg)); + + adapterCartItems.setData(listCartItems); + recyclerView.setAdapter(adapterCartItems); + adapterCartItems.notifyDataSetChanged(); + + findViewById(R.id.btnTracker).setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + startActivity(new Intent(ActivityTracking.this, ActivityHome.class)); + } + }); + + if (Utils.checkPermission(this)) { + checkGps(); + } + Teliver.identifyUser(new UserBuilder(username). + setUserType(UserBuilder.USER_TYPE.CONSUMER).registerPush().build()); + } + + @Override + protected void onResume() { + super.onResume(); + } + + + private void checkGps() { + GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this) + .addApi(LocationServices.API) + .build(); + googleApiClient.connect(); + + LocationRequest locationRequest = LocationRequest.create(); + locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY); + + LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder() + .addLocationRequest(locationRequest); + builder.setAlwaysShow(true); + + PendingResult result = LocationServices.SettingsApi.checkLocationSettings(googleApiClient, builder.build()); + result.setResultCallback(new ResultCallback() { + @Override + public void onResult(@NonNull LocationSettingsResult locationSettingsResult) { + Status status = locationSettingsResult.getStatus(); + if (status.getStatusCode() == LocationSettingsStatusCodes.RESOLUTION_REQUIRED) { + try { + status.startResolutionForResult(ActivityTracking.this, Constants.SHOW_GPS_DIALOG); + } catch (Exception e) { + e.printStackTrace(); + } + } + } + }); + } + + @Override + protected void onActivityResult(int requestCode, int resultCode, Intent data) { + super.onActivityResult(requestCode, resultCode, data); + if (requestCode == Constants.SHOW_GPS_DIALOG && resultCode == RESULT_OK) + Toast.makeText(ActivityTracking.this, "Gps is turned on", Toast.LENGTH_SHORT).show(); + else if (requestCode == Constants.SHOW_GPS_DIALOG && resultCode == RESULT_CANCELED) + finish(); + } + + @Override + public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { + super.onRequestPermissionsResult(requestCode, permissions, grantResults); + switch (requestCode) { + case Constants.COARSE_LOCATION_PERMISSION: + if (grantResults[0] != PackageManager.PERMISSION_GRANTED) + finish(); + else checkGps(); + } + } +} diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomEditText.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomEditText.java new file mode 100755 index 0000000..561c807 --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomEditText.java @@ -0,0 +1,60 @@ + +package com.customer.views; + +import android.content.Context; +import android.support.v7.widget.AppCompatEditText; +import android.util.AttributeSet; +import android.widget.EditText; + +import com.customer.Utils; + + +/** + * The Class CustomEditTextView. + */ +public class CustomEditText extends AppCompatEditText { + + /** The m utils. */ + private Utils mUtils; + + /** + * Instantiates a new custom edit text view. + * + * @param context + * the context + */ + public CustomEditText(Context context) { + super(context); + } + + /** + * Instantiates a new custom edit text view. + * + * @param context + * the context + * @param attrs + * the attrs + */ + public CustomEditText(Context context, AttributeSet attrs) { + super(context, attrs); + mUtils = new Utils(); + mUtils.init(this, context, attrs); + } + + /** + * Instantiates a new custom edit text view. + * + * @param context + * the context + * @param attrs + * the attrs + * @param defStyle + * the def style + */ + public CustomEditText(Context context, AttributeSet attrs, int defStyle) { + super(context, attrs, defStyle); + mUtils = new Utils(); + mUtils.init(this, context, attrs); + } + +} diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomTextView.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomTextView.java new file mode 100755 index 0000000..9cfb64d --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomTextView.java @@ -0,0 +1,59 @@ + +package com.customer.views; + +import android.content.Context; +import android.support.v7.widget.AppCompatTextView; +import android.util.AttributeSet; + +import com.customer.Utils; + + +/** + * The Class CustomTextView. + */ +public class CustomTextView extends AppCompatTextView { + + /** The m utils. */ + private Utils mUtils; + + /** + * Instantiates a new custom text view. + * + * @param context + * the context + */ + public CustomTextView(Context context) { + super(context); + } + + /** + * Instantiates a new custom text view. + * + * @param context + * the context + * @param attrs + * the attrs + */ + public CustomTextView(Context context, AttributeSet attrs) { + super(context, attrs); + mUtils = new Utils(); + mUtils.init(this, context, attrs); + } + + /** + * Instantiates a new custom text view. + * + * @param context + * the context + * @param attrs + * the attrs + * @param defStyle + * the def style + */ + public CustomTextView(Context context, AttributeSet attrs, int defStyle) { + super(context, attrs, defStyle); + mUtils = new Utils(); + mUtils.init(this, context, attrs); + } + +} diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_add.png new file mode 100644 index 0000000..9eee4cf Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_add.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_bagi.png new file mode 100644 index 0000000..aa54a39 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_bagi.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_boy.png new file mode 100644 index 0000000..ba74c32 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_boy.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_bag.png new file mode 100644 index 0000000..6b5b6bf Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_food.png new file mode 100644 index 0000000..9e191a4 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_ok.png new file mode 100644 index 0000000..9eb8096 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_plate.png new file mode 100644 index 0000000..6ad6292 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_hint_line.png new file mode 100644 index 0000000..301264b Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_hint_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_multiply.png new file mode 100644 index 0000000..d0aa8b3 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_multiply.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_non_veg.png new file mode 100644 index 0000000..c99d511 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_non_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification.png new file mode 100644 index 0000000..ed66640 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification_icon.png new file mode 100644 index 0000000..7add1ad Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification_icon.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_ok.png new file mode 100644 index 0000000..0e0aa7f Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_orange_line.png new file mode 100644 index 0000000..3f63898 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_orange_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_platiie_orange.png new file mode 100644 index 0000000..30cab4d Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_platiie_orange.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_bag.png new file mode 100644 index 0000000..1a76607 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_ok.png new file mode 100644 index 0000000..a65dcd1 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_plate.png new file mode 100644 index 0000000..52b1a6f Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_rec_food.png new file mode 100644 index 0000000..dbab692 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_rec_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_right_arrow.png new file mode 100644 index 0000000..ad5d4ba Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_right_arrow.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_sub.png new file mode 100644 index 0000000..c7b0486 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_sub.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_telivered.png new file mode 100644 index 0000000..d3351b5 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_telivered.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_test_line.png new file mode 100644 index 0000000..8062d48 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_test_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_veg.png new file mode 100644 index 0000000..5703077 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/iccircle.png new file mode 100644 index 0000000..3921252 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/iccircle.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/icok.png new file mode 100644 index 0000000..5da694f Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/icok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_add.png new file mode 100644 index 0000000..0fb9b30 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_add.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_bagi.png new file mode 100644 index 0000000..1959e5c Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_bagi.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_boy.png new file mode 100644 index 0000000..e878232 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_boy.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_bag.png new file mode 100644 index 0000000..7b71e93 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_food.png new file mode 100644 index 0000000..c27abc4 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_ok.png new file mode 100644 index 0000000..af8a165 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_plate.png new file mode 100644 index 0000000..9fa4b25 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_hint_line.png new file mode 100644 index 0000000..0dbbfc3 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_hint_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_multiply.png new file mode 100644 index 0000000..fb08824 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_multiply.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_non_veg.png new file mode 100644 index 0000000..804511c Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_non_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification.png new file mode 100644 index 0000000..ecab4fa Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification_icon.png new file mode 100644 index 0000000..a9aeb76 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification_icon.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_ok.png new file mode 100644 index 0000000..e2f1fb1 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_orange_line.png new file mode 100644 index 0000000..3fa1282 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_orange_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_platiie_orange.png new file mode 100644 index 0000000..64f18b7 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_platiie_orange.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_bag.png new file mode 100644 index 0000000..4d9a7c1 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_ok.png new file mode 100644 index 0000000..772c2b1 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_plate.png new file mode 100644 index 0000000..a7b8c8a Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_rec_food.png new file mode 100644 index 0000000..382004d Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_rec_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_right_arrow.png new file mode 100644 index 0000000..8b3ef97 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_right_arrow.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_sub.png new file mode 100644 index 0000000..3a020f2 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_sub.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_telivered.png new file mode 100644 index 0000000..9022c10 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_telivered.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_test_line.png new file mode 100644 index 0000000..79c9fca Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_test_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_veg.png new file mode 100644 index 0000000..8dd27a3 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/iccircle.png new file mode 100644 index 0000000..19a8067 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/iccircle.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/icok.png new file mode 100644 index 0000000..0151ba4 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/icok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_add.png new file mode 100644 index 0000000..de15c0a Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_add.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_bagi.png new file mode 100644 index 0000000..02bfdd9 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_bagi.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_boy.png new file mode 100644 index 0000000..d1930cb Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_boy.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_bag.png new file mode 100644 index 0000000..6066348 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_food.png new file mode 100644 index 0000000..a745561 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_ok.png new file mode 100644 index 0000000..1cd1cb6 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_plate.png new file mode 100644 index 0000000..8323f03 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_hint_line.png new file mode 100644 index 0000000..0191aed Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_hint_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_multiply.png new file mode 100644 index 0000000..0d9576a Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_multiply.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_non_veg.png new file mode 100644 index 0000000..c99d511 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_non_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification.png new file mode 100644 index 0000000..84826b3 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification_icon.png new file mode 100644 index 0000000..1a6a855 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification_icon.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_ok.png new file mode 100644 index 0000000..85c84f5 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_orange_line.png new file mode 100644 index 0000000..4548c61 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_orange_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_platiie_orange.png new file mode 100644 index 0000000..d3b8703 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_platiie_orange.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_bag.png new file mode 100644 index 0000000..a666100 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_ok.png new file mode 100644 index 0000000..a239da3 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_plate.png new file mode 100644 index 0000000..4461f94 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_rec_food.png new file mode 100644 index 0000000..b9e59ba Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_rec_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_right_arrow.png new file mode 100644 index 0000000..546a69c Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_right_arrow.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_sub.png new file mode 100644 index 0000000..8192e95 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_sub.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_telivered.png new file mode 100644 index 0000000..cf8f43f Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_telivered.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_test_line.png new file mode 100644 index 0000000..4dc4e55 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_test_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_veg.png new file mode 100644 index 0000000..f63bc5f Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/iccircle.png new file mode 100644 index 0000000..a3d7afd Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/iccircle.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/icok.png new file mode 100644 index 0000000..755dff4 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/icok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_add.png new file mode 100644 index 0000000..e19d5d3 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_add.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_bagi.png new file mode 100644 index 0000000..0054b3a Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_bagi.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_boy.png new file mode 100644 index 0000000..41eebe4 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_boy.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png new file mode 100644 index 0000000..6fe0df7 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_food.png new file mode 100644 index 0000000..8c77078 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png new file mode 100644 index 0000000..06b61ab Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png new file mode 100644 index 0000000..08ee2c9 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_hint_line.png new file mode 100644 index 0000000..b90926e Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_hint_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_multiply.png new file mode 100644 index 0000000..d6450f2 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_multiply.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_non_veg.png new file mode 100644 index 0000000..c99d511 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_non_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification.png new file mode 100644 index 0000000..32ea4ef Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png new file mode 100644 index 0000000..ce2085e Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_ok.png new file mode 100644 index 0000000..96a1015 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_orange_line.png new file mode 100644 index 0000000..c2d2366 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_orange_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_platiie_orange.png new file mode 100644 index 0000000..935055b Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_platiie_orange.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_bag.png new file mode 100644 index 0000000..720db2c Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_ok.png new file mode 100644 index 0000000..80e5df5 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_plate.png new file mode 100644 index 0000000..f4e0911 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_rec_food.png new file mode 100644 index 0000000..1804cb2 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_rec_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_right_arrow.png new file mode 100644 index 0000000..c899d21 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_right_arrow.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_sub.png new file mode 100644 index 0000000..54c521b Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_sub.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_telivered.png new file mode 100644 index 0000000..ec6fa73 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_telivered.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_test_line.png new file mode 100644 index 0000000..377304c Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_test_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_veg.png new file mode 100644 index 0000000..053bfb8 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/iccircle.png new file mode 100644 index 0000000..f1f2069 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/iccircle.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/icok.png new file mode 100644 index 0000000..03f15f2 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/icok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_add.png new file mode 100644 index 0000000..4855ac4 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_add.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_bagi.png new file mode 100644 index 0000000..449226d Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_bagi.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_boy.png new file mode 100644 index 0000000..7a016be Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_boy.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_car.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_car.png new file mode 100644 index 0000000..0d4609c Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_car.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_bag.png new file mode 100644 index 0000000..6fe0df7 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_food.png new file mode 100644 index 0000000..8c77078 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_ok.png new file mode 100644 index 0000000..06b61ab Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_plate.png new file mode 100644 index 0000000..08ee2c9 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_hint_line.png new file mode 100644 index 0000000..41cc032 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_hint_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_launcher.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_launcher.png new file mode 100644 index 0000000..5a41476 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_launcher.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_multiply.png new file mode 100644 index 0000000..448f816 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_multiply.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_non_veg.png new file mode 100644 index 0000000..c99d511 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_non_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification.png new file mode 100644 index 0000000..87123a2 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification_icon.png new file mode 100644 index 0000000..c61c2b3 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification_icon.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_ok.png new file mode 100644 index 0000000..3c0f189 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_orange_line.png new file mode 100644 index 0000000..1f44564 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_orange_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_platiie_orange.png new file mode 100644 index 0000000..495182d Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_platiie_orange.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_bag.png new file mode 100644 index 0000000..720db2c Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_bag.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_ok.png new file mode 100644 index 0000000..80e5df5 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_ok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_plate.png new file mode 100644 index 0000000..f4e0911 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_plate.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_rec_food.png new file mode 100644 index 0000000..1804cb2 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_rec_food.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_right_arrow.png new file mode 100644 index 0000000..e6a735f Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_right_arrow.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_scooter.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_scooter.png new file mode 100644 index 0000000..e439ce0 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_scooter.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_sub.png new file mode 100644 index 0000000..9a4d9c8 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_sub.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_telivered.png new file mode 100644 index 0000000..3972b19 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_telivered.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_test_line.png new file mode 100644 index 0000000..5f981b9 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_test_line.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_veg.png new file mode 100644 index 0000000..ce14bca Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_veg.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable/iccircle.png new file mode 100644 index 0000000..8609c46 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/iccircle.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/icok.png new file mode 100644 index 0000000..7793728 Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/icok.png differ diff --git a/OnDemandDelivery-customer/app/src/main/res/layout/activity_home.xml b/OnDemandDelivery-customer/app/src/main/res/layout/activity_home.xml new file mode 100644 index 0000000..155971f --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/res/layout/activity_home.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OnDemandDelivery-customer/app/src/main/res/layout/activity_tracking.xml b/OnDemandDelivery-customer/app/src/main/res/layout/activity_tracking.xml new file mode 100644 index 0000000..362675f --- /dev/null +++ b/OnDemandDelivery-customer/app/src/main/res/layout/activity_tracking.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +